Re: Correct usage of new if-shell option

2009-10-16 Thread Thayer Williams
On Oct 16, 2009 at 12:16 PM, Nicholas Marriott wrote: > Hi > > On Fri, Oct 16, 2009 at 11:18:45AM -0700, Thayer Williams wrote: > > Could someone explain the correct syntax for the new if-shell command? I > > would like to implement a condition where the tmux statusbar is adjusted > > based on

Re: Correct usage of new if-shell option

2009-10-16 Thread Nicholas Marriott
Hi On Fri, Oct 16, 2009 at 11:18:45AM -0700, Thayer Williams wrote: > Could someone explain the correct syntax for the new if-shell command? I > would like to implement a condition where the tmux statusbar is adjusted > based on whether I am starting tmux from the Linux console or from within X.

Correct usage of new if-shell option

2009-10-16 Thread Thayer Williams
Could someone explain the correct syntax for the new if-shell command? I would like to implement a condition where the tmux statusbar is adjusted based on whether I am starting tmux from the Linux console or from within X. I'm hoping for something like this: if [ -z "$DISPLAY" ]; then set -