clemens fischer wrote:
> On Sun-2010/02/28-21:28 Nicholas Marriott wrote:
>
>> You probably want to "exec tmux new-session", or use "tmux new-session
>> -d" instead.
>
> I always use
>
> exec /usr/local/bin/tmux ${TMUX_OPTIONS} attach-session
>
> without checking for existing sessions on the local machine. If there
> is one, it attaches to it, if not, it makes a new one.
No it doesn't, unless you're explicitly doing "new-session" in your
.tmux.conf (which, however, is a good idea, as it lets you use
"new-window" commands and the like afterwards in your .tmux.conf).
But if he doesn't have "new-session" in his .tmux.conf, this won't work.
--
Micah J. Cowan
http://micah.cowan.name/
------------------------------------------------------------------------------
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users