Use correct plugin paths for linux

This commit is contained in:
Jonny Barnes 2016-07-13 13:25:10 +01:00
parent a2493df7a6
commit 24ba83ab9b

8
zshrc
View file

@ -89,16 +89,16 @@ bindKeysZshHistoryLinux() {
} }
test -e /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh \ test -e /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh \
&& source /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh && source /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh
test -e /usr/opt/zsh-history-substring-search/zsh-history-substring-search.zsh \ test -e /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh \
&& source /usr/opt/zsh-history-substring-search/zsh-history-substring-search.zsh && source /usr/share/zsh/plugins/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 # ZSH autosuggestions
test -e /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh \ test -e /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh \
&& source /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 \ test -e /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh \
&& source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh && source /usr/share/zsh/plugins/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