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
ad4675cb
Commit
ad4675cb
authored
Jul 07, 2015
by
Patryk Małek
Browse files
Concise local variables declarations
parent
b1772c53
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/jira/jira.plugin.zsh
View file @
ad4675cb
...
@@ -78,11 +78,8 @@ jira_name () {
...
@@ -78,11 +78,8 @@ jira_name () {
}
}
jira_query
()
{
jira_query
()
{
local
jira_name
local
verb
=
"
$1
"
local
verb
local
jira_name lookup preposition
verb
=
"
$1
"
local
lookup
local
preposition
if
[[
"
${
verb
}
"
=
"reported"
]]
;
then
if
[[
"
${
verb
}
"
=
"reported"
]]
;
then
lookup
=
reporter
lookup
=
reporter
preposition
=
by
preposition
=
by
...
...
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