20 lines
321 B
Plaintext
Raw Normal View History

# pidof(8) completion -*- shell-script -*-
_pidof()
{
local cur prev words cword
_init_completion || return
case $prev in
-o)
_pids
return
;;
esac
_pnames
} &&
complete -F _pidof pidof
# ex: ts=4 sw=4 et filetype=sh