Unverified Commit 78d67e4d authored by Bruno Sutic's avatar Bruno Sutic Committed by GitHub
Browse files

Merge pull request #211 from malkomalko/mm-rename-window

actually rename windows when restoring
parents da1a7558 365a2e78
...@@ -163,6 +163,7 @@ new_pane() { ...@@ -163,6 +163,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"
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment