]> git.phdru.name Git - dotfiles.git/blobdiff - admin/prog/bash_prompt
Refactor(.shellrc): Test for `mc` down the stack
[dotfiles.git] / admin / prog / bash_prompt
index 22445711837d5fe68abde83ee598d3e32936687f..f18379d852899f3ae2ef512bf739a230bee5608c 100644 (file)
@@ -112,7 +112,9 @@ set_prompts() {
             case "$TERM" in
                screen*)
                   OPS1="\[\033P\033]0;${_COMMON_PROMPT}\007\033\\\\\]" # Set xterm title/icon under screen/tmux
-                  OPS1+="\[\033k${_COMMON_PROMPT}\033\\\\\]" # Set screen/tmux caption
+                  if [ -z "$MC_SID" ]; then
+                     OPS1+="\[\033k${_COMMON_PROMPT}\033\\\\\]" # Set screen/tmux caption
+                  fi
                ;;
             esac
          ;;