summaryrefslogtreecommitdiffstats
path: root/scripts/completions/zsh/_kdekillall
blob: 16ab40dcbe142b4602d5b9ba7439b4ba01106bf5 (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 \
	'signals:: _signals -p' \
	'compadd $progs'