Re: tmux and resuming sessions

2013-09-24 Thread Fabio Coatti
In data martedì 24 settembre 2013 04:21:13, Shawn Wilson ha scritto: > That should also be a function to allow define / attach of a session name as > is done with screen. > Nicholas Marriott wrote: > >You can shorten this to > > > > tmux attach || tmux new > > Yes, on the same page there are se

Re: tmux and resuming sessions

2013-09-24 Thread Shawn Wilson
Fabio Coatti >Date: 24/09/2013 08:54 (GMT+00:00) >To: tmux-users@lists.sourceforge.net >Subject: tmux and resuming sessions > >Hi all, >some time ago I asked on this mailing list some way to emulate, with >tmux, the >same behaviour of screen -R (resume old session

Re: tmux and resuming sessions

2013-09-24 Thread Nicholas Marriott
You can shorten this to    tmux attach || tmux new Or in tmux git you can also use tmux new -A Original message From: Fabio Coatti Date: 24/09/2013 08:54 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: tmux and resuming sessions Hi all, some time ago I asked

tmux and resuming sessions

2013-09-24 Thread Fabio Coatti
Hi all, some time ago I asked on this mailing list some way to emulate, with tmux, the same behaviour of screen -R (resume old session, if no sessions are present create a new one). Now I found a page that shows some solutions (aliases) that basically works for me: alias ltmux="if tmux has; th