Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Add Borders And Titles To tmux Panes

This isn't working as expected for updates with directories.

set -g pane-border-format " #{pane_current_path} "

but it's not working for me right now. It sticks on one path and doesn't change. The same thing happens if I try to run the [TODO: Code shorthand span ] command via

set -g pane-border-format " #(pwd) "

Borders

Add this to your config to turn on borders :

~/.tmux.conf

set -g pane-border-status top
set -g pane-border-lines double
set -g pane-border-style fg=#447755
set -g pane-active-border-style fg=#447755

Automatic Titles

Titles can be added via the config with :

~/.tmux.conf

set -g pane-border-format " #{pane_current_path} "

Manual Titles

It's also possible to set a title manually for each pane. Run this inside the pane you want to update.

bash
tmux select-pane -T "Some Title"

The sets the title to the current directory path of the pane. There's a bunch of other options in the [TODO: Code shorthand span ] page.

The available options for [TODO: Code shorthand span ] are

I've seen some notes saying that apps might overwrite the title you set. I haven't hit that yet, but it sounds like there are ways to prevent that listed in the manual page.

- The dracula plugin prevented the border colors from working for me

See also : - - id : 2t021hxc

Footnotes And References