Skip to content

Commit

Permalink
reworked pane / tty introspection (3)
Browse files Browse the repository at this point in the history
fixed SC2154 violation

SC2154 (warning): pane_id is referenced but not assigned
  • Loading branch information
gpakosz committed Mar 5, 2023
1 parent f930dbe commit 28d6670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
# }
Expand Down

0 comments on commit 28d6670

Please sign in to comment.