mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
parent
277a94c118
commit
21c8be8cd1
1 changed files with 5 additions and 6 deletions
|
@ -65,12 +65,11 @@ function help --description 'Show help for the fish shell'
|
||||||
set fish_browser xdg-open
|
set fish_browser xdg-open
|
||||||
end
|
end
|
||||||
|
|
||||||
# On OS X, we go through open by default
|
# If we have an open _command_ we use it - otherwise it's our function,
|
||||||
if test (uname) = Darwin
|
# which might not have a backend to use.
|
||||||
if type -q open
|
if command -sq open
|
||||||
set fish_browser open
|
set fish_browser open
|
||||||
set need_trampoline 1
|
set need_trampoline 1
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue