zsh-autosuggestions/.zsh-autosuggestionsrc

14 lines
348 B
Text
Raw Normal View History

2015-05-18 06:24:04 +02:00
# Setup zsh-autosuggestions
2015-05-18 06:32:25 +02:00
source $HOME/.zsh-autosuggestions/autosuggestions.zsh
2015-05-18 06:24:04 +02:00
# Enable autosuggestions automatically
zle-line-init() {
zle autosuggest-start
}
zle -N zle-line-init
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
# zsh-autosuggestions is designed to be unobtrusive)
bindkey '^T' autosuggest-toggle