mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
parent
4cb730773b
commit
93120c4151
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue