]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Gebruik w3m browser in terminals.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Thu, 14 Sep 2023 13:21:21 +0000 (21:21 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Thu, 14 Sep 2023 13:21:21 +0000 (21:21 +0800)
bash/.bashrc

index 3b7c8b6c22ac69926318bb62db040bbf6f51fba8..9fa83b575e9327947ca369846cc81d758498bf8c 100644 (file)
@@ -21,3 +21,4 @@ fi
 export GPG_TTY=$(tty)
 gpg-connect-agent updatestartuptty /bye >/dev/null
 
 export GPG_TTY=$(tty)
 gpg-connect-agent updatestartuptty /bye >/dev/null
 
+[ -n "$DISPLAY" ] && export BROWSER=firefox || export BROWSER=w3m