|
|
@ -525,7 +525,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim |
|
|
|
# else |
|
|
|
# ps -t "$tty" -o user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -o pid= -o ppid= -o command= | awk ' |
|
|
|
# NR > 1 && ((/ssh/ && !/-W/) || !/ssh/) { |
|
|
|
# user[$2] = $1; parent[$2] = $3; child[$3] = $2; for (i = 4 ; i <= NF; ++i) command[$2] = i > 4 ? command[$2] FS $i : $i |
|
|
|
# user[$2] = $1; parent[$2] = $3; child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = $0 |
|
|
|
# } |
|
|
|
# END { |
|
|
|
# for (i in parent) |
|
|
|