Hi
I found out the mismatch in the save-buffer command. The usage is following.
$ tmux list-command | grep save-buffer
save-buffer [-a] [-b buffer-index]
But "tmux save-buffer" outputs the usage, and returns 1.
$ tmux save-buffer
usage: save-buffer [-a] [-b buffer-index]
$ echo $?
1
It looks
Hi
Thanks! The attached patch fixed the bug.
2012/3/17 Nicholas Marriott :
> Hi
>
> I think that when you print a single option you need to check
> envent->value is not NULL (meaning the variable is removed from
> environment), same as inside the loop.
>
> Also this patch doesn't apply, I guess