[GRLUG] bad commands

mikemol at gmail.com mikemol at gmail.com
Thu Mar 11 14:24:53 EST 2010


On Thu, Mar 11, 2010 at 2:21 PM, John J. Foerch <jjfoerch at earthlink.net> wrote:
> On Thu, Mar 11, 2010 at 01:43:01PM -0500, Scott Huffman >>
>> tmux attach-session
>>
>> It's too long, so I created alias tmad = "tmux attach-session"
>
>
> Bravo, another tmux fan!  I wrote a convenience script for tmux ~/bin/term
> which either attaches the given session, or starts it if needed.  It looks
> like this:
>
>
>  #! /bin/bash
>
>  if tmux has-session -t "$1"; then
>      exec urxvtc -e tmux attach -t "$1"
>  else
>      exec urxvtc -e tmux new -s "$1"
>  fi

Huh! I hadn't heard of tmux.  Looks like an improvement on screen. I'll have to give it a shot.
-- 
:wq

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 271 bytes
Desc: OpenPGP digital signature
Url : http://shinobu.grlug.org/pipermail/grlug/attachments/20100311/a818c121/attachment.pgp 


More information about the grlug mailing list