mirror of
https://github.com/powerline/powerline.git
synced 2025-07-30 09:15:19 +02:00
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:
parent
b23daa251c
commit
edb416f611
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user