summaryrefslogtreecommitdiff
path: root/home/.oh-my-zsh/plugins/jira/_jira
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-07-13 06:42:05 +0200
committernavewindre <boneyaard@gmail.com>2025-07-13 06:42:05 +0200
commit02f14a9cb152561a5e44062aac79f3b700403b40 (patch)
tree2db8ebda3b7f6f8777783aeb5c60018e6e1359d8 /home/.oh-my-zsh/plugins/jira/_jira
parentcbbdeb2f6b40a102a829f0c47cff052937231f00 (diff)
omz
Diffstat (limited to 'home/.oh-my-zsh/plugins/jira/_jira')
-rw-r--r--home/.oh-my-zsh/plugins/jira/_jira27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/.oh-my-zsh/plugins/jira/_jira b/home/.oh-my-zsh/plugins/jira/_jira
new file mode 100644
index 0000000..617a3e5
--- /dev/null
+++ b/home/.oh-my-zsh/plugins/jira/_jira
@@ -0,0 +1,27 @@
+#compdef jira
+#autoload
+
+local -a _1st_arguments
+_1st_arguments=(
+ 'new:create a new issue'
+ 'mine:open my issues'
+ 'project:open the project'
+ 'dashboard:open the dashboard'
+ 'tempo:open the tempo'
+ 'reported:search for issues reported by a user'
+ 'assigned:search for issues assigned to a user'
+ 'branch:open the issue named after the git branch of the current directory'
+ 'dumpconfig:display effective jira configuration'
+ 'help:print usage help to stdout'
+)
+
+_arguments -C \
+ ':command:->command' \
+ '*::options:->options'
+
+case $state in
+ (command)
+ _describe -t commands "jira subcommand" _1st_arguments
+ return
+ ;;
+esac