You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fzy-pgrep 124B

1234567
  1. #!/bin/sh
  2. ps up $(pgrep -f ${@:-.}) | \
  3. while read -r l; do
  4. printf '%s\n' "$l" >&2
  5. fzy | awk '{print $2}'
  6. break
  7. done