zsh-autosuggestions/.zsh-autosuggestionsrc
2015-05-17 23:32:25 -05:00

14 lines
348 B
Plaintext
Executable File

# Setup zsh-autosuggestions
source $HOME/.zsh-autosuggestions/autosuggestions.zsh
# 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