Implement 'open' for Cygwin.

This commit is contained in:
Konrad Borowski 2013-08-13 17:21:40 +03:00
parent 07c48590c0
commit 4fc2ee1bd4

View file

@ -14,7 +14,11 @@ if not test (uname) = Darwin
end
end
if type -f xdg-open >/dev/null
if type -f cygstart >/dev/null
for i in $argv
cygstart $i
end
else if type -f xdg-open >/dev/null
for i in $argv
xdg-open $i
end