mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Implement 'open' for Cygwin.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user