diff --git a/.tmux.conf b/.tmux.conf index c08b507..8367567 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 # } #