about summary refs log tree commit diff
path: root/Completion/Builtins/_wait
blob: 29a7f6002f386c018398df4784a55985c56a1801 (plain) (blame)
1
2
3
4
5
6
7
#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`'