zsh-autosuggestions/src/start.zsh

19 lines
572 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
_zsh_autosuggest_feature_detect
2016-02-05 23:14:08 +01:00
_zsh_autosuggest_check_deprecated_config
_zsh_autosuggest_bind_widgets
_zsh_autosuggest_async_recreate_pty
add-zsh-hook precmd _zsh_autosuggest_async_recreate_pty
2016-02-05 23:14:08 +01:00
}
add-zsh-hook precmd _zsh_autosuggest_start