I like this, but I want to have a look at the code and figure out why it ends it. It would be nice to fix this nonobvious behaviour if possible, rather than documenting it.
The entire command is sent up from the client to the server and broken up there, so I can't offhand think of a reason it should stop. On Sat, Jan 23, 2010 at 07:03:19PM -0500, Sudish Joseph wrote: > diff --git a/tmux.1 b/tmux.1 > index abce872..fd9503d 100644 > --- a/tmux.1 > +++ b/tmux.1 > @@ -343,6 +343,19 @@ A literal semicolon may be included by escaping it with > a backslash (for > example, when specifying a command sequence to > .Ic bind-key ) . > .Pp > +The > +.Ic attach-session > +command stops further command processing, effectively ending the > +.Em command sequence . > +The > +.Ic new-session > +command without > +.Fl d > +implies > +.Ic attach-session > +and also stops further command processing in a > +.Em command sequence . > +.Pp > Examples include: > .Bd -literal -offset indent > refresh-client -t/dev/ttyp2 > @@ -352,6 +365,10 @@ rename-session -tfirst newname > set-window-option -t:0 monitor-activity on > > new-window ; split-window -d > + > +# Create a new session and source a session-specific config file > +# in addition to $HOME/.tmux.conf. > +new-session -d ; source $config_file ; attach-session > .Ed > .Sh CLIENTS AND SESSIONS > The following commands are available: ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users