commit 4114e724afd0c20e747ba8c88d5679057d7599eb
parent d843aebda4e3d64ee0757f4d4c50ba24d6eb04cd
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 28 Nov 2021 12:35:07 +0100
Fix $BROWSER on mac
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/shell/env b/shell/env
@@ -23,7 +23,11 @@ export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export TTRV_BROWSER=~/.scripts/linkhandler
-export BROWSER=brave
+if command -v brave >/dev/null 2>&1; then
+ export BROWSER=brave
+else
+ export BROWSER="open"
+fi
export WWW_HOME="https://tab.alex.balgavy.eu"
# Icons for lf {{{1
export LF_ICONS="\