Try to use the /usr/share/zsh/vendor-completions directory when the /etc/zsh_completion.d one is not present for zsh completions.
This commit is contained in:
parent
68fe01be97
commit
88cd9627ce
|
@ -20,6 +20,9 @@ fi
|
||||||
|
|
||||||
zshBin="/usr/bin/zsh"
|
zshBin="/usr/bin/zsh"
|
||||||
if [ -f $zshBin ]; then
|
if [ -f $zshBin ]; then
|
||||||
|
if ! [ -d $zshLoc ]; then
|
||||||
|
zshLoc="/usr/share/zsh/vendor-completions"
|
||||||
|
fi
|
||||||
if [ -d $zshLoc ]; then
|
if [ -d $zshLoc ]; then
|
||||||
ln -sf "$ybconDir/completions/zsh-completion.zsh" "$zshLoc/_ybcon"
|
ln -sf "$ybconDir/completions/zsh-completion.zsh" "$zshLoc/_ybcon"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue