Re: [PATCH 1/2] Aggregate config errors from source-file commands

2012-11-26 Thread Thomas Adam
Hi, On Mon, Nov 19, 2012 at 10:46:05AM +, Nicholas Marriott wrote: > This breaks the case where I source a bad file from the command prompt, > for example: > > echo 'set -g abc' >~/.tmux.conf > tmux new > q > C-b : source ~/.tmux.conf > > I guess you just don't reset the state after displayi

Re: [PATCH 1/2] Aggregate config errors from source-file commands

2012-11-19 Thread Nicholas Marriott
This breaks the case where I source a bad file from the command prompt, for example: echo 'set -g abc' >~/.tmux.conf tmux new q C-b : source ~/.tmux.conf I guess you just don't reset the state after displaying it. I've applied your other diff to add show_cfg_causes. Cheers On Thu, Nov 15, 201