]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile: fix a bug in PS1 under screen/tmux: add a missed backslash
[dotfiles.git] / .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
             ;;