my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
559 B

3 years ago
  1. #compdef jira
  2. #autoload
  3. local -a _1st_arguments
  4. _1st_arguments=(
  5. 'new:create a new issue'
  6. 'dashboard:open the dashboard'
  7. 'tempo:open the tempo'
  8. 'reported:search for issues reported by a user'
  9. 'assigned:search for issues assigned to a user'
  10. 'branch:open the issue named after the git branch of the current directory'
  11. 'dumpconfig:display effective jira configuration'
  12. )
  13. _arguments -C \
  14. ':command:->command' \
  15. '*::options:->options'
  16. case $state in
  17. (command)
  18. _describe -t commands "jira subcommand" _1st_arguments
  19. return
  20. ;;
  21. esac