mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
fix(jira): Make prefix check on "jira branch" command case-insensitive (#8799)
* Make prefix check on "jira branch" command case-insensitive * Update plugins/jira/jira.plugin.zsh Co-authored-by: Marc Cornellà <hello@mcornella.com> * Fixing tabs to spaces Co-authored-by: Robby Russell <robby@planetargon.com> Co-authored-by: Marc Cornellà <hello@mcornella.com>
This commit is contained in:
parent
bc36043e8f
commit
9f31951019
2 changed files with 6 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ function jira() {
|
|||
# Strip suffixes starting with _
|
||||
issue_arg=(${(s:_:)issue_arg})
|
||||
issue_arg=${issue_arg[1]}
|
||||
if [[ "$issue_arg" = ${jira_prefix}* ]]; then
|
||||
if [[ "${issue_arg:l}" = ${jira_prefix:l}* ]]; then
|
||||
issue="${issue_arg}"
|
||||
else
|
||||
issue="${jira_prefix}${issue_arg}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue