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 1e6e900abf Refactored completion server to use zsocket 12 years ago
.gitignore First commit 12 years ago
LICENSE-MIT First commit 12 years ago
README.mkd Update readme 12 years ago
autosuggestions.zsh Refactored completion server to use zsocket 12 years ago
completion-client.zsh Refactored completion server to use zsocket 12 years ago
completion-server-init.zsh Refactored completion server to use zsocket 12 years ago
completion-server.zsh Refactored completion server to use zsocket 12 years ago

README.mkd

zsh-autosuggestions

Fish-like autosuggestions on top of zsh 'predict-on' widget.

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() {
  enable-autosuggestions
}
zle -N zle-line-init
# use ctrl+t to toggle autosuggestions
bindkey '^T' toggle-autosuggestions
# use ctrl+f to accept a suggested word
bindkey '^F' accept-suggested-word
EOF