Fish-like autosuggestions for zsh
 
 
 
 
Go to file
Thiago de Arruda 09954ddd71 Add link to shelr demo
.gitignore
LICENSE-MIT
README.mkd Add link to shelr demo
autosuggestions.zsh Refactored into a widget to enable asynchronous
completion-client.zsh Refactored into a widget to enable asynchronous
completion-server-init.zsh Add magic prefix to distinguish completion lines
completion-server.zsh Refactored into a widget to enable asynchronous

README.mkd

zsh-autosuggestions

Fish-like fast/unobtrusive autosuggestions for zsh. Shelr demo.

Installation

git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
cat >> ~/.zshrc << "EOF"
source ~/.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)
bindkey '^T' autosuggest-toggle
# use ctrl+f to accept a suggested word
bindkey '^F' autosuggest-accept-suggested-word
EOF