Re: check for full name with has-session

2011-04-18 Thread Nicholas Marriott
hi Because if we took it out now it would break anyone already using it. It isn't very big anyway. On Mon, Apr 18, 2011 at 12:37:43PM +0100, Stroller wrote: > Sorry if this is a dumb question, but why then include the `has-session` > functionality? > > Surely it, too, can be implemented by the

Re: check for full name with has-session

2011-04-18 Thread Stroller
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, 2

Re: check for full name with has-session

2011-04-17 Thread Nicholas Marriott
tmux ls|grep -q '^name: ' On Sun, Apr 17, 2011 at 06:33:59PM +0100, boo wrote: > Hey Hey > > 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 th

check for full name with has-session

2011-04-17 Thread boo
Hey Hey 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 ? Thanks in advance! --