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
Originally posted by ShiromMakkad October 22, 2024
I'd like to create an alias to attach to the last session used on the current machine. I know you can use zellij a but if there's multiple sessions, it just prints all the sessions. I want it to connect to the top session in the list, but I don't want to type out its name. Is this possible?
I'd like a feature where there's a single command, maybe zellij a last-session or zellij last-session that can be run without knowing the name of the last session you connected to. For me, I work on many different sessions, but the next morning, I almost always want to connect to the last session I was on. I'd love to create an alias for this and just run it every time I connect over ssh.
The text was updated successfully, but these errors were encountered:
In case you were connected to more than one session on logout, which one would be the last session? In case that is known, what behavior would be desired after a reboot? Would you still want to re-open the session that was last active?
I asked that myself and the more I think about it, the more I think I should just give my session a useful name and always attach by name.
Discussed in #3689
Originally posted by ShiromMakkad October 22, 2024
I'd like to create an alias to attach to the last session used on the current machine. I know you can use
zellij a
but if there's multiple sessions, it just prints all the sessions. I want it to connect to the top session in the list, but I don't want to type out its name. Is this possible?I'd like a feature where there's a single command, maybe
zellij a last-session
orzellij last-session
that can be run without knowing the name of the last session you connected to. For me, I work on many different sessions, but the next morning, I almost always want to connect to the last session I was on. I'd love to create an alias for this and just run it every time I connect over ssh.The text was updated successfully, but these errors were encountered: