From: Frederik Vanrenterghem Date: Thu, 14 Sep 2023 13:21:21 +0000 (+0800) Subject: Gebruik w3m browser in terminals. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/b125e1d87b99bfed04f02e95d37935231a82e69c Gebruik w3m browser in terminals. --- diff --git a/bash/.bashrc b/bash/.bashrc index 3b7c8b6..9fa83b5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -21,3 +21,4 @@ fi export GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye >/dev/null +[ -n "$DISPLAY" ] && export BROWSER=firefox || export BROWSER=w3m