1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Use environment specific open command when creating a new Jira issue.

This commit is contained in:
Marco Chan 2013-11-12 15:55:16 +08:00
parent e30a1243dc
commit bb2064e92b

View file

@ -31,7 +31,7 @@ open_jira_issue () {
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Opening new issue" echo "Opening new issue"
`open $jira_url/secure/CreateIssue!default.jspa` $open_cmd "$jira_url/secure/CreateIssue!default.jspa"
else else
echo "Opening issue #$1" echo "Opening issue #$1"
if [[ "x$JIRA_RAPID_BOARD" = "xtrue" ]]; then if [[ "x$JIRA_RAPID_BOARD" = "xtrue" ]]; then