1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Proper handling of tags

This commit is contained in:
Ján Koščo 2014-08-22 23:11:52 +02:00
parent e585904e10
commit aac85f095e

View file

@ -26,6 +26,7 @@ _1st_arguments=(
'tag-list' 'tag-list'
'tag-create' 'tag-create'
'tag-edit' 'tag-edit'
'tag-remove'
'gnsync' 'gnsync'
'user' 'user'
) )
@ -116,7 +117,7 @@ case "$words[1]" in
'(-t|--title)'{-t,--title}'[title of tag]' \ '(-t|--title)'{-t,--title}'[title of tag]' \
) )
;; ;;
tag-create) tag-edit)
_command_args=( _command_args=(
'(-tgn|--tagname)'{-tgn,--tagname}'[tag to edit]' \ '(-tgn|--tagname)'{-tgn,--tagname}'[tag to edit]' \
'(-t|--title)'{-t,--title}'[new tag name]' \ '(-t|--title)'{-t,--title}'[new tag name]' \