Merge pull request #671 from jarnett/develop

workaround for _powerline_tmux_setenv() issue with bash-4.2.45
This commit is contained in:
ZyX-I 2014-01-10 09:38:12 -08:00
commit 483ed5d0e2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ fi
_powerline_tmux_setenv() {
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
fi
}