From: Frank Terbeck Date: Fri, 18 Nov 2011 10:41:01 +0000 (+0100) Subject: zshrc: Stop setting $BROWSER X-Git-Tag: v0.4.02~3 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=7b4ae7e4cc78f3474909e193566c46e588c52472 zshrc: Stop setting $BROWSER Requested-by: Ulrich Dangel Acked-by: Michael Prokop Signed-off-by: Frank Terbeck --- diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 8b6e27f..f939765 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -298,9 +298,6 @@ available via the usual history lookup widgets. //grmlzshrc// sets some environment variables, which influence the behaviour of applications. -: **BROWSER** -If X is running this is set to "firefox", otherwise to "w3m". - : **COLORTERM** Set to "yes". Some applications read this to learn about properties of the terminal they are running in. diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 086a9a4..47ec759 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2481,17 +2481,6 @@ fi # set terminal property (used e.g. by msgid-chooser) export COLORTERM="yes" -# set default browser -if [[ -z "$BROWSER" ]] ; then - if [[ -n "$DISPLAY" ]] ; then - #v# If X11 is running - check_com -c firefox && export BROWSER=firefox - else - #v# If no X11 is running - check_com -c w3m && export BROWSER=w3m - fi -fi - #m# v QTDIR \kbd{/usr/share/qt[34]}\quad [for non-root only] [[ -d /usr/share/qt3 ]] && export QTDIR=/usr/share/qt3 [[ -d /usr/share/qt4 ]] && export QTDIR=/usr/share/qt4