Merge pull request #671 from jarnett/develop
workaround for _powerline_tmux_setenv() issue with bash-4.2.45
This commit is contained in:
commit
483ed5d0e2
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
_powerline_tmux_setenv() {
|
_powerline_tmux_setenv() {
|
||||||
if [[ -n "$TMUX" ]]; then
|
if [[ -n "$TMUX" ]]; then
|
||||||
tmux setenv -g TMUX_"$1"_$(tmux display -p "#D" | tr -d %) "$2"
|
tmux setenv -g TMUX_"$1"_`tmux display -p "#D" | tr -d %` "$2"
|
||||||
tmux refresh -S
|
tmux refresh -S
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue