Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Salzmann-Jaeckel
tmux-resurrect
Commits
78d67e4d
Unverified
Commit
78d67e4d
authored
Jul 27, 2020
by
Bruno Sutic
Committed by
GitHub
Jul 27, 2020
Browse files
Merge pull request #211 from malkomalko/mm-rename-window
actually rename windows when restoring
parents
da1a7558
365a2e78
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/restore.sh
View file @
78d67e4d
...
...
@@ -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"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment