diff --git a/scripts/postinst b/scripts/postinst index eff944f..0278ef2 100644 --- a/scripts/postinst +++ b/scripts/postinst @@ -20,6 +20,9 @@ fi zshBin="/usr/bin/zsh" if [ -f $zshBin ]; then + if ! [ -d $zshLoc ]; then + zshLoc="/usr/share/zsh/vendor-completions" + fi if [ -d $zshLoc ]; then ln -sf "$ybconDir/completions/zsh-completion.zsh" "$zshLoc/_ybcon" fi