mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
add cygwin support and detection
you can action item in cygwin with cygstart or explorer
This commit is contained in:
parent
207b6a1e33
commit
d718348d69
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ open_jira_issue () {
|
||||||
local open_cmd
|
local open_cmd
|
||||||
if [[ $(uname -s) == 'Darwin' ]]; then
|
if [[ $(uname -s) == 'Darwin' ]]; then
|
||||||
open_cmd='open'
|
open_cmd='open'
|
||||||
|
elif [[ $(uname -s) =~ 'CYGWIN*' ]]; then
|
||||||
|
open_cmd='cygstart'
|
||||||
else
|
else
|
||||||
open_cmd='xdg-open'
|
open_cmd='xdg-open'
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue