1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00
zsh/Completion/Cvs/_cvs_watch
1999-08-26 11:07:42 +00:00

21 lines
365 B
Text

#autoload
if (( CURRENT == 2 )); then
compadd on off add remove
else
case "$words[2]" in
on|off) # "+lR"
_arguments -s \
-{l,R} \
':watch command:' \
':*:file:_cvs_files'
;;
add|remove) # "+lRa:"
_arguments -s \
-{l,R} \
'*-a+:action:(edit unedit commit all none)' \
':watch command:' \
':*:file:_cvs_files'
;;
esac
fi