$DOTFILES is always set in the completion function, so no need for a default

This commit is contained in:
Danielle McLean 2016-10-27 16:35:28 +11:00
parent ebdd5a9320
commit 71601dacf1
No known key found for this signature in database
GPG key ID: CC91589719027E94

View file

@ -29,6 +29,6 @@ case $state in
else
_message 'all known packages are already installed, you can still enter a git url manually'
fi ;;
fetch|link|st|status) _values -w package ${DOTFILES:-~/dotfiles}/*(/:t) ;;
fetch|link|st|status) _values -w package $DOTFILES/*(/:t) ;;
esac ;;
esac