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

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

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