Skip to content

Commit

Permalink
Change the br action to branch to be more explicit. (ohmyzsh#6678)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehudon authored and robbyrussell committed Mar 18, 2018
1 parent 7ed82b4 commit 5f2c343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/jira/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jira new # opens a new issue
jira dashboard # opens your JIRA dashboard
jira reported [username] # queries for issues reported by a user
jira assigned [username] # queries for issues assigned to a user
jira branch # opens an existing issue matching the current branch name
jira ABC-123 # opens an existing issue
jira ABC-123 m # opens an existing issue for adding a comment
```
Expand Down
2 changes: 1 addition & 1 deletion plugins/jira/jira.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function jira() {
else
# Anything that doesn't match a special action is considered an issue name
# but `branch` is a special case that will parse the current git branch
if [[ "$action" == "br" ]]; then
if [[ "$action" == "branch" ]]; then
local issue_arg=$(git rev-parse --abbrev-ref HEAD)
local issue="${jira_prefix}${issue_arg}"
else
Expand Down

0 comments on commit 5f2c343

Please sign in to comment.