mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-24 05:11:58 +00:00
Concise local variables declarations
This commit is contained in:
parent
b1772c5333
commit
ad4675cb0a
1 changed files with 2 additions and 5 deletions
|
@ -78,11 +78,8 @@ jira_name () {
|
|||
}
|
||||
|
||||
jira_query () {
|
||||
local jira_name
|
||||
local verb
|
||||
verb="$1"
|
||||
local lookup
|
||||
local preposition
|
||||
local verb="$1"
|
||||
local jira_name lookup preposition
|
||||
if [[ "${verb}" = "reported" ]]; then
|
||||
lookup=reporter
|
||||
preposition=by
|
||||
|
|
Loading…
Reference in a new issue