mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added some cygwin love
This commit is contained in:
parent
f45b43a267
commit
6148480e69
1 changed files with 3 additions and 1 deletions
|
|
@ -9,8 +9,10 @@ go() {
|
|||
else
|
||||
echo "DISPLAY not set: xdg-open requires X11"
|
||||
fi
|
||||
elif [ -e "`which cygstart`" ]; then
|
||||
cygstart "$1"
|
||||
else
|
||||
echo "xdg-open not found: unable to open '$1'"
|
||||
echo "neither xdg-open nor cygstart found: unable to open '$1'"
|
||||
fi
|
||||
fi
|
||||
elif [ -d "$1" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue