From b125e1d87b99bfed04f02e95d37935231a82e69c Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Thu, 14 Sep 2023 21:21:21 +0800 Subject: [PATCH] Gebruik w3m browser in terminals. --- bash/.bashrc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5