From f6b8bbdd53ac70c686ab0e42680228e0f42e07c6 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Thu, 29 Dec 2011 11:20:01 +0200 Subject: [PATCH] bashrc & zshrc: Do same what nyuszika7h did in previous commit, but with screen. --- bashrc | 4 ++++ zshrc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bashrc b/bashrc index 8dc56ee0..2cd1287a 100755 --- a/bashrc +++ b/bashrc @@ -149,6 +149,10 @@ if [[ $TERM == 'xterm' ]]; then export TERM=xterm-256color fi +if [[ $TERM == 'screen' ]]; then +export TERM=screen-256color +fi + # Things after this are just examples and should be put to some other file, which is sourced above. diff --git a/zshrc b/zshrc index 7a315fd7..7ee5b74c 100755 --- a/zshrc +++ b/zshrc @@ -76,6 +76,10 @@ if [[ $TERM == 'xterm' ]]; then export TERM=xterm-256color fi +if [[ $TERM == 'screen' ]]; then +export TERM=screen-256color +fi + # Things after this are just examples and should be put to some other file, which is sourced above. # Sets the default editor. I prefer nano to vim and so on, so I want it to be nano. If you don't like terminal based text editors, change "nano" to gedit (Gnome) or Kate (KDE).