mirror of
1
0
Fork 0

fixed username detection on OpenBSD

This commit is contained in:
Gregory Pakosz 2023-12-08 16:12:31 +01:00
parent 78c8d0483d
commit 1b88bf2127
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
# ' # '
# ;; # ;;
# *) # *)
# ps -t "$pane_tty" -o user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -o pid= -o ppid= -o command= | awk -v pane_pid="$pane_pid" ' # ps -t "/dev/$pane_tty" -o user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -o pid= -o ppid= -o command= | awk -v pane_pid="$pane_pid" '
# ((/ssh/ && !/-W/) || !/ssh/) && !/tee/ { # ((/ssh/ && !/-W/) || !/ssh/) && !/tee/ {
# user[$2] = $1; if (!child[$3]) child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = substr($0,4) # user[$2] = $1; if (!child[$3]) child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = substr($0,4)
# } # }