mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-05 02:18:49 +00:00
Merge pull request #211 from malkomalko/mm-rename-window
actually rename windows when restoring
This commit is contained in:
commit
78d67e4dcb
@ -163,6 +163,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