summaryrefslogtreecommitdiffstats
path: root/scripts/completions/zsh/_kdekillall
blob: a51fb85d42adcb32504dcb3c9a1bfc5f3c0bf292 (plain)
1
2
3
4
5
6
7
8
#compdef kdekillall

local progs
progs=(`ps x | grep tdeinit: | grep -v Running | grep -v grep | sed 's,.*tdeinit: ,,' | sed 's, .*,,'`)

_alternative \
	'Q_SIGNALS:: _Q_SIGNALS -p' \
	'compadd $progs'