diff --git a/share/functions/help.fish b/share/functions/help.fish index 7cac6cbd9..408bbb3b7 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -68,8 +68,7 @@ function help --description 'Show help for the fish shell' if type -q cygstart set fish_browser cygstart # If xdg-open is available, just use that - # but only if an X session is running - else if type -q xdg-open; and set -q -x DISPLAY + else if type -q xdg-open set fish_browser xdg-open end