Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-26 Thread Nicholas Marriott
Does it work if you change the condition to: case "`tmux -V`" in *1.9*) true;; *) false;; esac On Wed, Mar 25, 2015 at 11:53:57PM -0600, Robert LeBlanc wrote: >I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while >depreciating the old syntax. I can't get 1.9 (from Debian

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Robert LeBlanc
Robert LeBlanc Sent from a mobile device please excuse any typos. On Mar 26, 2015 12:41 AM, "Robert LeBlanc" wrote: > > > > On Thu, Mar 26, 2015 at 12:31 AM, Robert LeBlanc wrote: >> >> >> >> On Thu, Mar 26, 2015 at 12:13 AM, Benoit Pierre wrote: >>> >>> On Thu, Mar 26, 2015 at 6:53 AM, Robert

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Benoit Pierre
On Thu, Mar 26, 2015 at 7:31 AM, Robert LeBlanc wrote: > > > On Thu, Mar 26, 2015 at 12:13 AM, Benoit Pierre > wrote: >> >> On Thu, Mar 26, 2015 at 6:53 AM, Robert LeBlanc >> wrote: >> > I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while >> > depreciating the old syntax. I can't ge

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Robert LeBlanc
On Thu, Mar 26, 2015 at 12:31 AM, Robert LeBlanc wrote: > > > On Thu, Mar 26, 2015 at 12:13 AM, Benoit Pierre > wrote: > >> On Thu, Mar 26, 2015 at 6:53 AM, Robert LeBlanc >> wrote: >> > I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while >> > depreciating the old syntax. I can't g

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Robert LeBlanc
On Thu, Mar 26, 2015 at 12:13 AM, Benoit Pierre wrote: > On Thu, Mar 26, 2015 at 6:53 AM, Robert LeBlanc > wrote: > > I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while > > depreciating the old syntax. I can't get 1.9 (from Debian) or 1.9a > (compiled > > from source) to work prope

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Benoit Pierre
On Thu, Mar 26, 2015 at 6:53 AM, Robert LeBlanc wrote: > I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while > depreciating the old syntax. I can't get 1.9 (from Debian) or 1.9a (compiled > from source) to work properly. I open a new tmux session and run: > > if-shell "[[ `/usr/bin/tm

if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-25 Thread Robert LeBlanc
I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while depreciating the old syntax. I can't get 1.9 (from Debian) or 1.9a (compiled from source) to work properly. I open a new tmux session and run: if-shell "[[ `/usr/bin/tmux -V` = *1.9* ]]" "display-message 'Yes'" "display-message 'No'"