You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the original tmux (before prefix + Ctrl-R) , the order of sessions are sorted by three types. Sorted by index, sorted by name and sorted by time.
In tmux 3.1c, sorted by index is the default option.
After resurrect, the index order part is overwrote by name order.
I think it may because the resurrection process re-create the sessions by name order.
Expected behavior:
Support re-creating sessions by index order.
The text was updated successfully, but these errors were encountered:
deeperlearner
changed the title
Session restore directly using name order and overwrite index order.
Session restores directly using name order and overwrite index order.
Jul 1, 2021
deeperlearner
changed the title
Session restores directly using name order and overwrite index order.
Session restores by directly using name order and overwrite index order.
Jul 1, 2021
deeperlearner
changed the title
Session restores by directly using name order and overwrite index order.
Sessions restore by directly using name order and overwrite index order.
Jul 1, 2021
I think the order is based on the list-windows command (tmux list-windows -a -F "#{session_name}"). From what I can see it orders sessions alphabetically (in my tmux version next-3.3). Also, it seems it doesn't have a sort-order flag. And if it did have a sort-order flag it would be for windows, not sessions?
If someone can figure out a simple solution for this, a PR would be accepted.
While we're on this topic: I recommend completely ignoring session order. Use prefix + g from tmux-sessionist (or some other means) to switch sessions without looking at the session list at all.
Dosx001
added a commit
to Dosx001/tmux-resurrect
that referenced
this issue
Apr 9, 2023
In the original tmux (before prefix + Ctrl-R) , the order of sessions are sorted by three types. Sorted by index, sorted by name and sorted by time.
In tmux 3.1c, sorted by index is the default option.
After resurrect, the index order part is overwrote by name order.
I think it may because the resurrection process re-create the sessions by name order.
Expected behavior:
Support re-creating sessions by index order.
The text was updated successfully, but these errors were encountered: