From 87b34269bcac5905683e434ad74d4d87e3cc624b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 20 Feb 2024 21:34:59 +0100 Subject: [PATCH] browser_select: Fix incomplete documentation --- plugins/browser_select/README.md | 8 ++++++++ plugins/browser_select/browser_select.zprofile | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/browser_select/README.md b/plugins/browser_select/README.md index c87d842..927eb6b 100644 --- a/plugins/browser_select/README.md +++ b/plugins/browser_select/README.md @@ -4,6 +4,14 @@ Search for the "best" WWW browser and setup environment (`$BROWSER`) accordingly The plugin looks for the following WWW browsers and stops at the first one it finds: +- open (on non-Linux platforms) +- firefox (when DISPLAY is set) +- chrome (when DISPLAY is set) +- elinks +- w3m +- links2 +- links +- lynx ### Environment diff --git a/plugins/browser_select/browser_select.zprofile b/plugins/browser_select/browser_select.zprofile index 1f45a24..fcc425e 100644 --- a/plugins/browser_select/browser_select.zprofile +++ b/plugins/browser_select/browser_select.zprofile @@ -4,7 +4,6 @@ # Don't run this plugin on "check-plugins"! [[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92 - if [[ -z "$BROWSER" ]]; then if [[ "$OSTYPE" != "linux-gnu" ]]; then # Check for open(1) on Non-Linux systems. On (Debian-) Linux, the open(1) -- 2.39.2