0

my .tmux.conf.:

set -g mouse on
#set -g mouse-select-pane on
bind-key a set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"
set-window-option -g aggressive-resize
set -g pane-border-format "#P: #{pane_current_command}"
#tmux set -g pane-border-status top

set-window-option -g allow-rename off
set-window-option -g automatic-rename off

echo $PS1

PS1="\u@\h:\W\\$ "

Versions:

akhil@phoenix:~$ xpanes -V
xpanes 4.1.1
akhil@phoenix:~$ tmux -V
tmux 2.9a

screenshot:

xpanes -t -c "ping {}" 192.168.0.{1..9}

enter image description here

2

1 Answer 1

1

I solved it.

There is a .bashrc file in /etc/bash.bashrc

It is overriding with following

case ${TERM} in
  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'

    ;;
  screen*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
    ;;
esac

I removed those lines and it's working fine.

Still a mystery. Don't know why only two windows are affected.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .