1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/User/_killall
2000-02-28 10:00:25 +00:00

9 lines
227 B
Text

#compdef killall
if [[ "$OSTYPE" = linux* ]]; then
_alternative \
'signals:: _signals -p' \
'processes:process:{ compadd "$expl[@]" ${$(_call pids ps ho comm 2> /dev/null):#(ps|COMMAND)} }'
else
_signals -p
fi