.profile: fix a bug in PS1 under screen/tmux: add a missed backslash
authorOleg Broytman <phd@phdru.name>
Sat, 26 Mar 2016 23:29:23 +0000 (02:29 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 26 Mar 2016 23:29:23 +0000 (02:29 +0300)
.profile

index 965af56..5934957 100644 (file)
--- a/.profile
+++ b/.profile
@@ -156,7 +156,7 @@ if [ -t 0 ] ; then
                OPS1="\[\033]0;\u@\h:\w\007\]"
                case "$TERM" in
                   screen*)
-                     OPS1=${OPS1}"\[\033k\u@\h:\w\033\\\]" # Set screen/tmux caption
+                     OPS1=${OPS1}"\[\033k\u@\h:\w\033\\\\\]" # Set screen/tmux caption
                   ;;
                esac
             ;;