mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 13:55:45 +02:00
workaround for _powerline_tmux_setenv() issue with bash-4.2.45
This commit is contained in:
parent
db80fc95ed
commit
a810e37f02
@ -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…
x
Reference in New Issue
Block a user