summaryrefslogtreecommitdiffstats
path: root/zsh/.config/zsh/local-completions/hornet/_sv
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.config/zsh/local-completions/hornet/_sv')
-rw-r--r--zsh/.config/zsh/local-completions/hornet/_sv10
1 files changed, 10 insertions, 0 deletions
diff --git a/zsh/.config/zsh/local-completions/hornet/_sv b/zsh/.config/zsh/local-completions/hornet/_sv
new file mode 100644
index 0000000..218e95f
--- /dev/null
+++ b/zsh/.config/zsh/local-completions/hornet/_sv
@@ -0,0 +1,10 @@
+#compdef svdn svget svkill svlog svdisable svre svst svstop svup
+
+local -a service_list
+local services=$(ls ~/.services/enabled/)
+service_list=(${(f)services})
+
+_describe 'commands' service_list
+
+# shfmt:skip (shfmt doesn't recognize zsh array expansion)
+# vim:ft=zsh