From bd7717032ba5b5492c7fb52bfe5feb2c14545d2c Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 17 Sep 2017 17:31:40 +0200 Subject: [PATCH] Fix shelltitle for screen-256color --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 5e4346d..1591e1d 100644 --- a/.bashrc +++ b/.bashrc @@ -26,7 +26,7 @@ shopt -s checkwinsize ## PS1='' -if [ "$TERM" = screen ]; then +if [[ "$TERM" == screen* ]]; then PS1='\[\033k\033\\\]' fi