Skip to content

Utilize pane title

Yasuhiro Yamada edited this page Jul 29, 2018 · 5 revisions

Default

$ xpanes -t AAAAA BBBBB CCCCC

png image

Show logging (--log option) status

[Log] is displayed if logging is enabled.

export TMUX_XPANES_PANE_BORDER_FORMAT="#[bg=green,fg=black] #T#{?pane_pipe,[Log],} #[default]"

Show the attractive notification when the argument is root

$ export TMUX_XPANES_PANE_BORDER_FORMAT="#(echo #T | grep root && echo '#[bg=red,fg=white,underscore,bold,blink]ROOT#[default]')#[bg=cyan,fg=black][#T]#[default]"

$ xpanes -t -c 'ssh {}@host' user1 root user2

png image

Clone this wiki locally