mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Update plugins/jira/README.md
This commit is contained in:
parent
ae6c131137
commit
d99942f6c5
1 changed files with 1 additions and 2 deletions
|
|
@ -44,8 +44,7 @@ This is also checks if the prefix is in the name, and adds it if not, so: "MP-12
|
||||||
"mp-1234" opens the issue "mp-1234", and "1234" opens the issue "MP-1234".
|
"mp-1234" opens the issue "mp-1234", and "1234" opens the issue "MP-1234".
|
||||||
|
|
||||||
If your branch naming convention deviates, you can overwrite the jira_branch function to determine and echo the Jira issue key yourself.
|
If your branch naming convention deviates, you can overwrite the jira_branch function to determine and echo the Jira issue key yourself.
|
||||||
Create a file at `~/.oh-my-zsh/plugins/jira-patch/jira-patch.plugin.zsh` and add `jira-patch` after `jira` in the $plugins variable
|
Define a function `jira_branch` after sourcing `oh-my-zsh.sh`.
|
||||||
(see https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#partially-overriding-an-existing-plugin).
|
|
||||||
Example:
|
Example:
|
||||||
```zsh
|
```zsh
|
||||||
# Determine branch name from naming convention 'type/KEY-123/description'.
|
# Determine branch name from naming convention 'type/KEY-123/description'.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue