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
|
|
@ -27,6 +27,11 @@ jira branch # opens an existing issue matching the current branch name
|
|||
# The branch name may have prefixes ending in "/": "feature/MP-1234",
|
||||
# and also suffixes starting with "_": "MP-1234_fix_dashboard"
|
||||
# In both these cases, the issue opened will be "MP-1234"
|
||||
# This is also checks if the prefix is in the name, and adds it if not, so:
|
||||
# "MP-1234" opens the issue "MP-1234",
|
||||
# "mp-1234" opens the issue "mp-1234",
|
||||
# and "1234" opens the issue "MP-1234".
|
||||
# NOTE: since jira is case insensitive, the first two examples open the same issue
|
||||
jira ABC-123 # opens an existing issue
|
||||
jira ABC-123 m # opens an existing issue for adding a comment
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue