diff options
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 } |