worked around tmux 2.4 not properly refreshing status, see tmux/tmux#922
This commit is contained in:
+5
-1
@@ -486,9 +486,13 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# _root() {
|
# _root() {
|
||||||
# username=$(_username "$tty" false "$@")
|
# tty=${1:-$(tmux display -p '#{pane_tty}')}
|
||||||
|
# username=$(_username "$tty" false)
|
||||||
|
#
|
||||||
# if [ x"$username" = x"root" ]; then
|
# if [ x"$username" = x"root" ]; then
|
||||||
# tmux show -gqv '@root'
|
# tmux show -gqv '@root'
|
||||||
|
# else
|
||||||
|
# echo ""
|
||||||
# fi
|
# fi
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user