Something like the following seems to work:
--
$ cat krenew-tmux-wrapper
#!/bin/bash
if [ $(tmux ls 2>/dev/null | wc -l) -gt 0 ]; then
exit 1
fi
tmux kill-server >/dev/null 2>&1
tmux new -d
while [ $(tmux ls 2>/d
start-server is to create a server without creating any sessions, eg if
you create them in the configuration file
On Tue, Aug 31, 2010 at 10:13:06AM +0200, Mika Fischer wrote:
> Something like the following seems to work:
> -
But if you just call "tmux start" with an empty config file it does
nothing and that's supposed to be so?
Best,
Mika
On Tue, Aug 31, 2010 at 10:18, Nicholas Marriott
wrote:
> start-server is to create a server without creating any sessions, eg if
> you create them in the configuration file
>
>
it doesn't do nothing, it just looks like it does :-) it starts the
server and the server then exits because you haven't created any
sessions
it could act like new i suppose but it probably isn't worth the effort
On Tue, Aug 31, 2010 at 10:20:49AM +0200, Mika Fischer wrote:
> But if you just cal