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