mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
actually rename windows when restoring
This commit is contained in:
parent
9c7ec631d4
commit
365a2e78ae
@ -159,6 +159,7 @@ new_pane() {
|
||||
else
|
||||
tmux split-window -t "${session_name}:${window_number}" -c "$dir"
|
||||
fi
|
||||
tmux rename-window -t "${session_name}:${window_number}" "$window_name"
|
||||
# minimize window so more panes can fit
|
||||
tmux resize-pane -t "${session_name}:${window_number}" -U "999"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user