Skip to content

Commit ada9f17

Browse files
committed
feat: tmux rename pane to current working directory
Signed-off-by: David Calvert <david@0xdc.me>
1 parent 0f3b2c2 commit ada9f17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.tmux.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ set -sg escape-time 1
1818
set-option -g base-index 1
1919
setw -g pane-base-index 1
2020

21+
# Automatically rename pane to current directory path
22+
set-option -g automatic-rename-format '#{b:pane_current_path}'
23+
2124
# Fix ssh-agent when tmux is detached
2225
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
2326

0 commit comments

Comments
 (0)