summarylogtreecommitdiffstats
path: root/jira
diff options
context:
space:
mode:
Diffstat (limited to 'jira')
-rw-r--r--jira10
1 files changed, 10 insertions, 0 deletions
diff --git a/jira b/jira
new file mode 100644
index 000000000000..d7708664451f
--- /dev/null
+++ b/jira
@@ -0,0 +1,10 @@
+_jira_bash_autocomplete() {
+ local cur prev opts base
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ opts=$( ${COMP_WORDS[0]} --completion-bash "${COMP_WORDS[@]:1:$COMP_CWORD}" )
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+}
+complete -F _jira_bash_autocomplete -o default jira
+