forked from extern/ohmyzsh
Concise local variables declarations
This commit is contained in:
parent
b1772c5333
commit
ad4675cb0a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user