check that we can set a tmux status before loading tmux powerline config
parent
2e1421a589
commit
d8c2820c49
|
@ -221,7 +221,7 @@ if command -v tmux >/dev/null 2>&1; then
|
|||
&& [ -z "$TMUX" ]; then
|
||||
exec tmux new -A -s default && exit
|
||||
fi
|
||||
if command -v powerline-config >/dev/null 2>&1; then
|
||||
if tmux set -g status on >/dev/null 2>&1 && command -v powerline-config >/dev/null 2>&1; then
|
||||
powerline-config tmux setup
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue