mirror of
1
0
Fork 0

reworked pane / tty introspection (3)

fixed SC2154 violation

SC2154 (warning): pane_id is referenced but not assigned
This commit is contained in:
Gregory Pakosz 2023-03-05 17:26:21 +01:00
parent f930dbe12a
commit 28d6670bb9
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
# pane_tty=${2:-$(tmux display -p '#{b:pane_tty}')}
# root=$3
#
# username=$(_username "$pane_id" "$pane_tty" false)
# username=$(_username "$pane_pid" "$pane_tty" false)
#
# [ x"$username" = x"root" ] && echo "$root"
# }