Try:
if-shell "test -n \"$SSH_CLIENT\"" ...
test -n is always true, you want it to be test -n "" when it's empty.
On Fri, Jan 31, 2014 at 08:45:19PM -0200, Br??ulio Bhavamitra wrote:
>Yes nicolas, in my tests I have exited all tmux windows (and the tmux
>itself) and then started it with
Yes nicolas, in my tests I have exited all tmux windows (and the tmux
itself) and then started it with and without the shell variable.
2014-01-31 Nicholas Marriott :
> did you restart the tmux server entirely? config file is only read on
> server startup
>
>
>
> On Fri, Jan 31, 2014 at 05:43:20
On Fri, Jan 31, 2014 at 3:42 PM, Nicholas Marriott
wrote:
> Hi
>
> On Wed, Jan 22, 2014 at 03:18:14PM +0400, Azat Khuzhin wrote:
>> @@ -333,7 +333,9 @@ format_expand(struct format_tree *ft, const char *fmt)
>> - buf[off++] = ch;
>> + if (ch !
With you patch:
$ tmux -Lfoo new -s test
For me, ###S converted to ##test
On Fri, Jan 31, 2014 at 3:51 PM, Nicholas Marriott
wrote:
> Yes it works for me with ###S but if you could check what you were doing
> also then that'd be good.
>
>
> On Fri, Jan 31, 2014 at 03:45:21PM +0400, Azat Khuzhin
did you restart the tmux server entirely? config file is only read on
server startup
On Fri, Jan 31, 2014 at 05:43:20PM -0200, Br??ulio Bhavamitra wrote:
>No better result Nicholas.
>
>2014-01-31 Nicholas Marriott <[1]nicholas.marri...@gmail.com>:
>
> Hi. You should try tmux from
No better result Nicholas.
2014-01-31 Nicholas Marriott :
> Hi. You should try tmux from git where I think some problems with
> if-shell are fixed.
>
>
> On Fri, Jan 31, 2014 at 03:43:11PM -0200, Br??ulio Bhavamitra wrote:
> >I want to change the prefix if a environment variable is declared.
ok, fetching and compiling
2014-01-31 Nicholas Marriott :
> Hi. You should try tmux from git where I think some problems with
> if-shell are fixed.
>
>
> On Fri, Jan 31, 2014 at 03:43:11PM -0200, Br??ulio Bhavamitra wrote:
> >I want to change the prefix if a environment variable is declared.
Hi. You should try tmux from git where I think some problems with
if-shell are fixed.
On Fri, Jan 31, 2014 at 03:43:11PM -0200, Br??ulio Bhavamitra wrote:
>I want to change the prefix if a environment variable is declared. I've
>tried the follwing configurations on .tmux.conf
>
>This
I want to change the prefix if a environment variable is declared. I've
tried the follwing configurations on .tmux.conf
This always change (with $SSH_CLIENT declared or not):
if-shell "test -n $SSH_CLIENT" "set -g prefix C-a"
and also:
if-shell "[[ -n $SSH_CLIENT ]]" "set -g prefix C-a"
But th
Ok you need to wait for Thomas to sync up the SF repo tonight or apply
this as well:
Index: format.c
===
RCS file: /cvs/src/usr.bin/tmux/format.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- format.
Hi
This breaks quotes, for example try:
neww -n "a;neww"
I know the existing code allows things like 'neww -n "a;" neww' but that
isn't as bad.
It would seem that it'd be better to do this in cmd_string_parse which
would fix both.
But the problem is that will stop it working with the argv gi
Yes it works for me with ###S but if you could check what you were doing
also then that'd be good.
On Fri, Jan 31, 2014 at 03:45:21PM +0400, Azat Khuzhin wrote:
> On Fri, Jan 31, 2014 at 3:42 PM, Nicholas Marriott
> wrote:
> > Hi
> >
> > On Wed, Jan 22, 2014 at 03:18:14PM +0400, Azat Khuzhin wro
Hi
On Wed, Jan 22, 2014 at 03:18:14PM +0400, Azat Khuzhin wrote:
> @@ -333,7 +333,9 @@ format_expand(struct format_tree *ft, const char *fmt)
> - buf[off++] = ch;
> + if (ch != '#') {
> + buf[off++] = ch;
>
Hi
What is TERM set to outside tmux in fbterm? I want to see what it looks
like to see if we can detect this.
On Thu, Jan 30, 2014 at 03:25:38AM -0800, Lawrence Jacob Siebert wrote:
>Got it from source forge repository. * [1]tmux.sourceforge.net
>I manually inserted the lines (into the d
Applied, thanks.
On Sun, Jan 26, 2014 at 07:09:40PM +0100, m0viefreak wrote:
> In case of a partial match (cases where buf is shorter than
> template) the loop was comparing one character too much, ending up
> with comparing \0 in buf which would fail.
> Fix: change pos++ to ++pos
>
> The increm
Applied, thanks.
On Thu, Jan 30, 2014 at 05:38:28PM -0600, J Raynor wrote:
> > Please don't use expressions with side-effects like m++ in function
> > arguments, it's too easy to miss.
>
> Ok. I've attached a new patch that meets your request.
> diff --git a/input.c b/input.c
> index 259fad1..
16 matches
Mail list logo