mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue