Add a dots pull command which just git pulls in every package
This commit is contained in:
parent
71601dacf1
commit
cd3c23e76b
2 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue