Add zsh-autosuggestions

This commit is contained in:
Jonny Barnes 2016-07-04 18:56:01 +01:00
parent 473e1d220a
commit ef526085bf

6
zshrc
View file

@ -97,6 +97,12 @@ test -e /usr/opt/zsh-history-substring-search/zsh-history-substring-search.zsh \
test "$platform" = 'osx' && bindKeysZshHistoryOSX test "$platform" = 'osx' && bindKeysZshHistoryOSX
test "$platform" = 'linux' && bindKeysZshHistoryLinux test "$platform" = 'linux' && bindKeysZshHistoryLinux
# ZSH autosuggestions
test -e /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh \
&& source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
test -e /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh \
&& source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# You may need to manually set your language environment # You may need to manually set your language environment
export LANG=en_GB.UTF-8 export LANG=en_GB.UTF-8