chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
shell-completion/zsh/_sd_outputmodes
@@ -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 "$@"