]> git.phdru.name Git - dotfiles.git/commitdiff
.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 965af5646a654accddc9c3c58e993bcd3e9b0b31..5934957dc63e48c703113162636e2e64517fa8a4 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
             ;;