From 28d6670bb9f44d1b72353a76593afc850d763a23 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Sun, 5 Mar 2023 17:26:21 +0100 Subject: [PATCH] reworked pane / tty introspection (3) fixed SC2154 violation SC2154 (warning): pane_id is referenced but not assigned --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 64b6087..12e0ee9 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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" # }