from inside tmux switchc -t109\; kill-session -t110
should work On Fri, Jun 06, 2014 at 11:16:01PM +0100, Balazs Kezes wrote: > On 2014-06-06 23:58 +0200, Paolo Bolzoni wrote: > > Imagine I am in the session 110 and this is the situation: > > % tmux ls > > 109: 1 windows (created Fri Jun 6 23:51:57 2014) [80x24] > > 110: 1 windows (created Fri Jun 6 23:52:06 2014) [80x24] (attached) > > > > I would like to replace the pane I am using (110), with the 109. > > By "pane" you mean "session", right? > > > Now I type attach-session -t 110 and kill-session -t 109, I was > > wondering if it is possible in a in single command. > > Why not create a script combining the two commands? > > -- > Balazs > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users