mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user