Commit 93120c41 authored by ramanduh's avatar ramanduh Committed by Robby Russell
Browse files

jira plugin: take into account action argument (fix #6388) (#6393)

parent 4cb73077
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
function jira() { function jira() {
emulate -L zsh emulate -L zsh
local action jira_url jira_prefix local action jira_url jira_prefix
if [[ -f .jira-default-action ]]; then if [[ -n "$1" ]]; then
action=$1
elif [[ -f .jira-default-action ]]; then
action=$(cat .jira-default-action) action=$(cat .jira-default-action)
elif [[ -f ~/.jira-default-action ]]; then elif [[ -f ~/.jira-default-action ]]; then
action=$(cat ~/.jira-default-action) action=$(cat ~/.jira-default-action)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment