Re: [PATCH] cmd_string_parse: use session environment if available

2013-11-29 Thread Matthias Lederhofer
Just found a problem: sourcing the tmux configuration expands the environment variables, too, and I don't see any way that allows escaping. That means ':new-window -c "$PWD"' on the prompt works but binding the same will resolve $PWD when parsing the config, not when pressing the keys. Any recommen

Re: [PATCH] cmd_string_parse: use session environment if available

2013-11-28 Thread Nicholas Marriott
On Thu, Nov 28, 2013 at 10:24:19AM +, Matthias Lederhofer wrote: > Just found a problem: sourcing the tmux configuration expands the > environment variables, too, and I don't see any way that allows > escaping. That means ':new-window -c "$PWD"' on the prompt works but > binding the same will r