summaryrefslogtreecommitdiffstats
path: root/scripts/completions/zsh/_tdekillall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/completions/zsh/_tdekillall')
-rw-r--r--scripts/completions/zsh/_tdekillall8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/completions/zsh/_tdekillall b/scripts/completions/zsh/_tdekillall
new file mode 100644
index 00000000..bff071af
--- /dev/null
+++ b/scripts/completions/zsh/_tdekillall
@@ -0,0 +1,8 @@
+#compdef tdekillall
+
+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'