1
0
Fork 0
mirror of synced 2024-11-17 23:15:35 -05:00

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

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"
# }