mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Implement 'help' for Cygwin.
This commit is contained in:
parent
4fc2ee1bd4
commit
8ab81e6d4b
1 changed files with 4 additions and 1 deletions
|
@ -54,8 +54,11 @@ function help --description 'Show help for the fish shell'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# If the OS appears to be Windows (graphical), try to use cygstart
|
||||||
|
if type cygstart > /dev/null
|
||||||
|
set fish_browser cygstart
|
||||||
# If xdg-open is available, just use that
|
# If xdg-open is available, just use that
|
||||||
if type xdg-open > /dev/null
|
else if type xdg-open > /dev/null
|
||||||
set fish_browser xdg-open
|
set fish_browser xdg-open
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue