diff --git a/.tmux.conf b/.tmux.conf index 921d5fc..28477fb 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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/ { # user[$2] = $1; if (!child[$3]) child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = substr($0,4) # }