chiark / gitweb /
zsh-completion: Move output modes to autoload
[elogind.git] / shell-completion / zsh / _sd_outputmodes
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes
new file mode 100644 (file)
index 0000000..dae8a5c
--- /dev/null
@@ -0,0 +1,5 @@
+#autoload
+
+local -a _output_opts
+_output_opts=(short short-monotonic verbose export json json-pretty json-see cat)
+_describe -t output 'output mode' _output_opts || compadd "$@"