1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
zsh/Completion/Builtins/_wait

8 lines
137 B
Plaintext
Raw Normal View History

1999-04-15 20:05:38 +02:00
#defcomp wait
local list
complist -P '%' -j
list=("$(ps 2>/dev/null)")
complist -y '$list' -s '`ps 2>/dev/null | tail +2 | cut -c1-5`'