Make Jira plugin work under cygwin.

* Cygwin does not have the xdg-open command, this change uses cygstart which is capable of opening urls.
This commit is contained in:
Jonathan Price 2014-07-18 13:23:07 +01:00
commit 7ba2ab61d8

View file

@ -14,6 +14,8 @@ open_jira_issue () {
local open_cmd
if [[ $(uname -s) == 'Darwin' ]]; then
open_cmd='open'
elif [[ $(uname -o) == 'Cygwin' ]]; then
open_cmd='cygstart'
else
open_cmd='xdg-open'
fi