Skip to content

Commit

Permalink
Add autosuggestions to zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
victormours committed Jun 20, 2016
1 parent ef8b726 commit f610d55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
autojump/
zsh-syntax-highlighting/
zsh-autosuggestions/
local/

1 change: 1 addition & 0 deletions install.sh
Expand Up @@ -26,6 +26,7 @@ gem install hub
gem install rubocop-git

git clone git://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/zsh-syntax-highlighting
git clone git://github.com/zsh-users/zsh-autosuggestions $HOME/.dotfiles/zsh-autosuggestions

echo "# Add machine-specific config here (this file and the local directory will be ignored by git)" > $HOME/.dotfiles/local/zshrc

Expand Down
3 changes: 3 additions & 0 deletions zsh/zshrc
Expand Up @@ -34,3 +34,6 @@ if [ -f $HOME/.dotfiles/local/zshrc ]; then
fi

eval $(docker-machine env default)

source $HOME/.dotfiles/zsh-autosuggestions/zsh-autosuggestions.zsh
bindkey '^ ' autosuggest-accept

0 comments on commit f610d55

Please sign in to comment.