Make sure tmux will run powerline-config *after* testing env var

It appears that old tmux *also* spawns `if-shell` tests in background
effectively making it impossible to use in config like it was used before.
This commit is contained in:
ZyX 2015-01-16 22:44:16 +03:00
parent b23daa251c
commit edb416f611
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,2 @@
if-shell 'test -z "$POWERLINE_CONFIG_COMMAND"' 'set-environment -g POWERLINE_CONFIG_COMMAND powerline-config'
run-shell 'eval $POWERLINE_CONFIG_COMMAND tmux setup'
if-shell 'test -z "$POWERLINE_CONFIG_COMMAND"' 'set-environment -g POWERLINE_CONFIG_COMMAND powerline-config; run-shell "eval \$POWERLINE_CONFIG_COMMAND tmux setup"' 'run-shell "eval \$POWERLINE_CONFIG_COMMAND tmux setup"'
# vim: ft=tmux