diff options
Diffstat (limited to 'scripts/completions/zsh/_kdekillall')
-rw-r--r-- | scripts/completions/zsh/_kdekillall | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/completions/zsh/_kdekillall b/scripts/completions/zsh/_kdekillall new file mode 100644 index 00000000..16ab40dc --- /dev/null +++ b/scripts/completions/zsh/_kdekillall @@ -0,0 +1,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' |