Use correct plugin paths for linux
This commit is contained in:
parent
a2493df7a6
commit
24ba83ab9b
1 changed files with 4 additions and 4 deletions
8
zshrc
8
zshrc
|
@ -89,16 +89,16 @@ bindKeysZshHistoryLinux() {
|
|||
}
|
||||
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
|
||||
test -e /usr/opt/zsh-history-substring-search/zsh-history-substring-search.zsh \
|
||||
&& source /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/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||
test "$platform" = 'osx' && bindKeysZshHistoryOSX
|
||||
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
|
||||
test -e /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh \
|
||||
&& source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# You may need to manually set your language environment
|
||||
export LANG=en_GB.UTF-8
|
||||
|
|
Loading…
Add table
Reference in a new issue