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
|
&& [ -z "$TMUX" ]; then
|
||||||
exec tmux new -A -s default && exit
|
exec tmux new -A -s default && exit
|
||||||
fi
|
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
|
powerline-config tmux setup
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue