add cygwin support and detection

you can action item in cygwin with cygstart or explorer
This commit is contained in:
mattkatz 2014-07-30 13:00:32 -04:00
commit d718348d69

View file

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