Hi,
while I usually prefer the simple one line borders, I'm also
sometimes in need of some pane details. Therefore I bound
set -w pane-border-status
to a key. To show the pane number, as in your screenshot,
you can set pane-border-format to
" Pane #D "
I use a much more verbose setting like this:
" #D #{pane_current_path} #[dim]#T#[none]
#{pane_width}x#{pane_height} #{pane_tty} "
Together with a bit of bash magic, the #T shows the process
currently running. For quite a while I used
trap 'printf "\e]0;%s\a" "$BASH_COMMAND" > /dev/tty' DEBUG
But it has some limitations: When running 'a; b; c', it only
shows one command after each other "a" -> "b" -> "c", and
when running 'a | b | c' only shows 'c'. So now I use
bind -x '"\C-o":printf "\e]0;%s\a" "$READLINE_LINE"'
bind 'RETURN: "\C-o\n"'
Which is known to "fail" at all sorts of history expansion
like '!!' (which re-runs the last command, but shows "!!"
in the title).
Thomas
Am 16.01.26 um 07:49 schrieb P Z:
--
Dipl.-Inform.
Thomas Sattler
DVK/IT-Sysadmin
Uniklinikum FFM
CoBIC (Haus 88)
Heinrich-Hoffmann-Str. 9
D-60528 Frankfurt
Tel:
+49 69 6301 95657
Fax:
+49 69 6301 3707