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 24fa67b2b2 Remove highlighting on accept-line 12 years ago
.gitignore First commit 12 years ago
LICENSE-MIT First commit 12 years ago
README.mkd Add automatic pause/resume of autosuggestions 12 years ago
autosuggestions.zsh Remove highlighting on accept-line 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
EOF