JIRA-COMPLETION(7)
π jira-completion(7) β the shell completion glow-up β¨
okay so bestie, welcome to the Jira CLI manual, section 7, and today's main character is jira-completion π
she's the one who teaches your shell to finish your sentences for you. literally the most supportive friend in the friend group.
πΈ NAME πΈ
jira-completion β outputs shell completion code for the shell you specify (bash or zsh) π«Ά
β SYNOPSIS β
jira completion
π DESCRIPTION π
She prints out shell completion code for whichever shell you name β and the menu is bash, zsh, fish or PowerShell π (yes the NAME up there is doing the bash/zsh thing, but the description says all four, so we're keeping all four, no cap).
now here's how you actually load the completions, per shell. read carefully, this is the whole assignment π
Bash π
$ source <(jira completion bash)
# To load completions for each session, execute once:
Linux:
$ jira completion bash > /etc/bash_completion.d/jira
macOS:
$ jira completion bash > /usr/local/etc/bash_completion.d/jira
Zsh π¦
# If shell completion is not already enabled in your environment you will need
# to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ jira completion zsh > "${fpath[1]}/_jira"
# You will need to start a new shell for this setup to take effect.
Fish π
$ jira completion fish | source
# To load completions for each session, execute once:
$ jira completion fish > ~/.config/fish/completions/_jira.fish
PowerShell π
PS> jira completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
PS> jira completion powershell > _jira.ps1
# and source this file from your PowerShell profile.
quick heads-up for the zsh girlies: after that setup you gotta start a new shell for it to take effect. don't come for me, that's just what the page says π
β¨ OPTIONS β¨
-h,--help[=false]β help for completion. classic, iconic, does exactly what it says π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the ones she got from her mom, jira herself:
-c,--config=""β config file (default is/homeless-shelter/.config/.jira/.config.yml, and you can override it with theJIRA_CONFIG_FILEenv var) π₯--debug[=false]β turn on debug output. for when you're nosy and honestly, same π-p,--project=""β the Jira project to look into (defaults to/homeless-shelter/.config/.jira/.config.yml) π
π«Ά SEE ALSO π«Ά
jira(7)β go say hi to the parent command, she misses you
π§ HISTORY π§
1-Jan-1980 β Auto generated by spf13/cobra. vintage. antique. a literal 1980 baby π
πΈ and that's the whole page, bestie! this one was Auto generated by spf13/cobra, dated Jan 1980, living under the Jira CLI(7) banner β slay, periodt, go enable some completions π β¨
π¦ where this page comes from
- nixos 26.05: jira-cli-go 1.7.0
- nixpkgs unstable: jira-cli-go 1.7.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms