Update _dots completion with new subcommands

This commit is contained in:
Danielle McLean 2023-12-05 19:55:50 +11:00
parent 008e82924e
commit 136eddf8dd
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -9,7 +9,9 @@ commands=(
bootstrap:'set up initial dotfiles on a new system'
clone:'download dotfiles packages over Git'
fetch:'retrieve updates to your packages'
link:'install downloaded packages into your ~'
stow:'stow downloaded packages into your ~'
unstow:'unstow installed packages (cleans up their symlinks)'
restow:'unstow then stow installed packages (may be useful if package layout changed)'
pull:'fetch and apply package updates'
status:'check whether your packages have changes'
)
@ -30,6 +32,6 @@ case $state in
else
_message 'all known packages are already installed, you can still enter a git url manually'
fi ;;
fetch|link|pull|st|status) _values -w package $DOTFILES/*(/:t) ;;
fetch|*stow|pull|st|status) _values -w package $DOTFILES/*(/:t) ;;
esac ;;
esac