Add zsh-autosuggestion
[zsh.git] / .zsh / external / zsh-autosuggestions / src / start.zsh
1
2 #--------------------------------------------------------------------#
3 # Start #
4 #--------------------------------------------------------------------#
5
6 # Start the autosuggestion widgets
7 _zsh_autosuggest_start() {
8 _zsh_autosuggest_check_deprecated_config
9 _zsh_autosuggest_bind_widgets
10 }
11
12 autoload -Uz add-zsh-hook
13 add-zsh-hook precmd _zsh_autosuggest_start