Fish-like autosuggestions for zsh
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Thiago de Arruda a6f53879ae Direct less frequent log messages to stderr for
easier debugging
12 years ago
.gitignore First commit 12 years ago
LICENSE-MIT First commit 12 years ago
README.mkd Add link to shelr demo 12 years ago
autosuggestions.zsh Refactored into a widget to enable asynchronous 12 years ago
completion-client.zsh Refactored into a widget to enable asynchronous 12 years ago
completion-server-init.zsh Add magic prefix to distinguish completion lines 12 years ago
completion-server.zsh Direct less frequent log messages to stderr for 12 years ago

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