Skip to content

Commit 365a2e7

Browse files
authored
actually rename windows when restoring
1 parent 9c7ec63 commit 365a2e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/restore.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ new_pane() {
159159
else
160160
tmux split-window -t "${session_name}:${window_number}" -c "$dir"
161161
fi
162+
tmux rename-window -t "${session_name}:${window_number}" "$window_name"
162163
# minimize window so more panes can fit
163164
tmux resize-pane -t "${session_name}:${window_number}" -U "999"
164165
}

0 commit comments

Comments
 (0)