worked around tmux 2.4 not properly refreshing status, see tmux/tmux#922
This commit is contained in:
parent
6b7d2e7513
commit
785ba173a3
1 changed files with 5 additions and 1 deletions
|
@ -486,9 +486,13 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# }
|
||||
#
|
||||
# _root() {
|
||||
# username=$(_username "$tty" false "$@")
|
||||
# tty=${1:-$(tmux display -p '#{pane_tty}')}
|
||||
# username=$(_username "$tty" false)
|
||||
#
|
||||
# if [ x"$username" = x"root" ]; then
|
||||
# tmux show -gqv '@root'
|
||||
# else
|
||||
# echo ""
|
||||
# fi
|
||||
# }
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue