summaryrefslogtreecommitdiffstats
path: root/config/zsh/local-completions
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-16 01:34:16 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-16 03:18:44 -0500
commite42c989d6def401dd893a73cef5d5deac8b42778 (patch)
treea85a03c0c2c9861729ff182d471ddfb25a09ec33 /config/zsh/local-completions
parentc08a8241a1844216bd76ecfe6bb7d20a8edaf00a (diff)
downloadconf-e42c989d6def401dd893a73cef5d5deac8b42778.tar.gz
conf-e42c989d6def401dd893a73cef5d5deac8b42778.zip
prefer xdg basedir specification directories
Diffstat (limited to 'config/zsh/local-completions')
-rw-r--r--config/zsh/local-completions/hush/_sv10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/zsh/local-completions/hush/_sv b/config/zsh/local-completions/hush/_sv
new file mode 100644
index 0000000..8887bd6
--- /dev/null
+++ b/config/zsh/local-completions/hush/_sv
@@ -0,0 +1,10 @@
+#compdef svdn svget svkill svlog svnuke svre svst svstop svup
+
+local -a service_list
+local services=$(ls ~/.services/enabled/)
+service_list=(${(s:
+:)services})
+
+_describe 'commands' service_list
+
+# vim:ft=zsh