mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Implement 'open' for Cygwin.
This commit is contained in:
parent
07c48590c0
commit
4fc2ee1bd4
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,11 @@ if not test (uname) = Darwin
|
||||||
end
|
end
|
||||||
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
|
for i in $argv
|
||||||
xdg-open $i
|
xdg-open $i
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue