diff options
author | Tim O'Brien <timo@t413.com> | 2015-09-14 15:39:18 -0700 |
---|---|---|
committer | Tim O'Brien <timo@t413.com> | 2015-09-14 15:39:18 -0700 |
commit | e8639c700ebbf8aa416c0d14c8e3a292f1062dd7 (patch) | |
tree | 7705714541cc8781a1be7e1d2343d34e5e8aa9b1 /plugins/jira/_jira | |
parent | 797e1f9a64c0d2775723bb28c76745b327f86d56 (diff) | |
parent | 9c08641d7c2aae0c82fa5ad91f94c67b70115ba5 (diff) | |
download | zsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.tar.gz zsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.tar.bz2 zsh-e8639c700ebbf8aa416c0d14c8e3a292f1062dd7.zip |
Update to current robbyrussell/oh-my-zsh master
Diffstat (limited to 'plugins/jira/_jira')
-rw-r--r-- | plugins/jira/_jira | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/jira/_jira b/plugins/jira/_jira new file mode 100644 index 000000000..b0ea658e2 --- /dev/null +++ b/plugins/jira/_jira @@ -0,0 +1,21 @@ +#compdef jira +#autoload + +local -a _1st_arguments +_1st_arguments=( + 'new:create a new issue' + 'dashboard:open the dashboard' + 'reported:search for issues reported by a user' + 'assigned:search for issues assigned to a user' +) + +_arguments -C \ + ':command:->command' \ + '*::options:->options' + +case $state in + (command) + _describe -t commands "jira subcommand" _1st_arguments + return + ;; +esac |