Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-08 Thread Nicholas Marriott
On Thu, Nov 08, 2012 at 04:33:37AM +, Ben Boeckel wrote: > On Sun, Nov 04, 2012 at 01:22:50 GMT, Thomas Adam wrote: > > I'm attaching one patch for now -- an idea for how hook support in tmux > > might work. There's no documentation yet as I envisage things still in a > > state of flux. > > N

Re: script to maximize/restore panes

2012-11-08 Thread Nicholas Marriott
On Thu, Nov 08, 2012 at 04:33:37AM +, Ben Boeckel wrote: > On Wed, Nov 07, 2012 at 15:13:21 GMT, Thomas Adam wrote: > >> $optflag_a && nwopts="-a -t $winid $nwopts" > > > > It is perhaps preferrable to not treat optflag_a as some literal boolean, > > but rather use something like: > > > > [ -n

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-08 Thread Thomas Adam
On Thu, Nov 08, 2012 at 04:33:37AM +, Ben Boeckel wrote: > Could a `-w` flag for 'when' the hook is to be called could be done > instead of embedding it into the name? I'd also prefer pre/post over > before/after, but it's not a big deal. I don't care about the name, but I think before/after i