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
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
This allows to use environment variables from the current session in
command strings, e.g. to create a new window starting in $PWD.
---
cfg.c|2 +-
cmd-command-prompt.c |3 ++-
cmd-confirm-before.c |3 ++-
cmd-if-shell.c |3 ++-
cmd-string.c | 38 +