Add a dots pull command which just git pulls in every package

This commit is contained in:
Danielle McLean 2016-10-30 10:17:24 +11:00
parent 71601dacf1
commit cd3c23e76b
No known key found for this signature in database
GPG key ID: CC91589719027E94
2 changed files with 14 additions and 1 deletions

View file

@ -10,6 +10,7 @@ commands=(
clone:'download dotfiles packages over Git'
fetch:'retrieve updates to your packages'
link:'install downloaded packages into your ~'
pull:'fetch and apply package updates'
status:'check whether your packages have changes'
)
if ! _retrieve_cache dots-repositories; then
@ -29,6 +30,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/*(/:t) ;;
fetch|link|pull|st|status) _values -w package $DOTFILES/*(/:t) ;;
esac ;;
esac