Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
93120c41
Commit
93120c41
authored
Nov 04, 2017
by
ramanduh
Committed by
Robby Russell
Nov 04, 2017
Browse files
jira plugin: take into account action argument (fix #6388) (#6393)
parent
4cb73077
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/jira/jira.plugin.zsh
View file @
93120c41
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment