From 706f56867c594056f5ba7c823b3c75b04299f86b Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 15 May 2022 13:53:47 -0500 Subject: [PATCH] Consider xdg-open to be a graphical browser Otherwise, if xdg-open redirects `help` to Firefox, the terminal will be spammed with debug messages. --- share/functions/help.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/help.fish b/share/functions/help.fish index 90c962363..15c5c19e2 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -23,7 +23,7 @@ function help --description 'Show help for the fish shell' set -l fish_browser $fish_help_browser # A list of graphical browsers we know about. - set -l graphical_browsers htmlview x-www-browser firefox galeon mozilla + set -l graphical_browsers htmlview x-www-browser firefox galeon mozilla xdg-open set -a graphical_browsers konqueror epiphany opera netscape rekonq google-chrome chromium-browser # On mac we may have to write a temporary file that redirects to the desired