zsh-autosuggestions/src/start.zsh

15 lines
444 B
Bash
Raw Normal View History

2016-02-05 23:14:08 +01:00
2016-02-14 08:29:43 +01:00
#--------------------------------------------------------------------#
# Start #
#--------------------------------------------------------------------#
2016-02-05 23:14:08 +01:00
# Start the autosuggestion widgets
_zsh_autosuggest_start() {
add-zsh-hook -d precmd _zsh_autosuggest_start
2016-02-05 23:14:08 +01:00
_zsh_autosuggest_check_deprecated_config
_zsh_autosuggest_bind_widgets
}
add-zsh-hook precmd _zsh_autosuggest_start