mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-24 11:58:11 +08:00
Implement 'open' for Cygwin.
This commit is contained in:
parent
07c48590c0
commit
4fc2ee1bd4
@ -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…
x
Reference in New Issue
Block a user