Sorry if this is a dumb question, but why then include the `has-session` functionality?
Surely it, too, can be implemented by the user with `tmux ls | grep -q '^startofnamestri'`? Stroller On 17/4/2011, at 7:02pm, Nicholas Marriott wrote: > tmux ls|grep -q '^name: ' > > > On Sun, Apr 17, 2011 at 06:33:59PM +0100, boo wrote: >> >> At the moment, has-session checks if a session STARTS WITH [session-name] >> e.g. if there is a session called devel.someproject - has-sesssion >> "devel" returns true >> >> Is there any way to check if the session with that exact name exists ? ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users