kill session and switch to last one?

16 views
Skip to first unread message

Vladimir Bauer

unread,
Aug 10, 2020, 1:12:54 PM8/10/20
to tmux-...@googlegroups.com
Hello!

Is there a way to kill the current session and switch to the last one without leaving a tmux?
I have tried:

kill-session; switch-client -l

and tmux 3.1b got frozen, so I had to send tmux kill-server from new command prompt.


--
Kind Regards,
Vladimir Bauer

Thomas Sattler

unread,
Aug 10, 2020, 2:49:44 PM8/10/20
to tmux-...@googlegroups.com
Close all but one window/pane and then run

$ exec tmux switch-client -l

Thomas



Am 10.08.20 um 19:12 schrieb Vladimir Bauer:
> --
> You received this message because you are subscribed to the Google
> Groups "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to tmux-users+...@googlegroups.com
> <mailto:tmux-users+...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/CADkDknYqH8o47njn1owqRbWibXBqRQFYekWz%2B3O28KzqnGj61w%40mail.gmail.com
> <https://groups.google.com/d/msgid/tmux-users/CADkDknYqH8o47njn1owqRbWibXBqRQFYekWz%2B3O28KzqnGj61w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages