summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index f57617f..8c5774d 100644
--- a/zshrc
+++ b/zshrc
@@ -75,7 +75,11 @@ alias -s txt="vim"
alias -s doc="oowriter"
# set default programs
+if [ $TERM = "xterm" ] ; then
export TERM=xterm-256color
+elif [ $TERM = "screen" ] ; then
+export TERM=screen-256color
+fi
export EDITOR=vim
export PAGER=vimpager
export BROWSER=chromium