diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-04-01 01:33:21 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-04-01 01:47:05 +0200 |
commit | e5a58b4409d4ea223e8f568eea62cf299ccb1592 (patch) | |
tree | 5bcce7a366e5a2ae1e86bc5f2c5d20f24be117db /bashrc | |
parent | 5e51020b4e3f2b75f3d48b1261b7a7e624661fe1 (diff) | |
download | dotfiles-e5a58b4409d4ea223e8f568eea62cf299ccb1592.tar.gz dotfiles-e5a58b4409d4ea223e8f568eea62cf299ccb1592.tar.xz dotfiles-e5a58b4409d4ea223e8f568eea62cf299ccb1592.zip |
fixed screen programm display
also display set_screen_title if TERM is not screen but contains
screen
Diffstat (limited to '')
-rw-r--r-- | bashrc/common/screen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/common/screen.sh b/bashrc/common/screen.sh index 402d774..6dbda21 100644 --- a/bashrc/common/screen.sh +++ b/bashrc/common/screen.sh @@ -8,7 +8,7 @@ set_screen_title() { } init_preexec_hack() { - if [[ $TERM == "screen" ]]; then + if [[ "${TERM#screen}" != "${TERM}" ]]; then trap set_screen_title DEBUG fi } |