On 9/13/2010 2:55 AM, Nicholas Marriott wrote:
>
> No, I meant that 1>&2 2>/dev/null looks unusual, did you really still
> want stdout (although has-session doesn't output anything to stdout, so
> it hardly matters much)?
At first I was trying to see why the script wasn't working, and realized
it
On 9/12/2010 5:07 PM, Nicholas Marriott wrote:
> On Sun, Sep 12, 2010 at 02:58:01PM -0500, Joshua Isom wrote:
>> sessions=
>> # Check to see if tmux is running, or else sed might stall
>> tmux has-session 1>&2 2>/dev/null
>
> Are you sure this pair of red
I wrote up a script to handle sessions for me. I typically use ssh
and a laptop so a multiplexer helps a lot, especially when updating
software, encoding videos, or anything else that takes a lot of time. I
haven't used tmux for very long, I just recently found it, so I don't
know if there's