summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_systemd-detect-virt
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/zsh/_systemd-detect-virt')
-rw-r--r--shell-completion/zsh/_systemd-detect-virt11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell-completion/zsh/_systemd-detect-virt b/shell-completion/zsh/_systemd-detect-virt
new file mode 100644
index 0000000000..a0c7df727c
--- /dev/null
+++ b/shell-completion/zsh/_systemd-detect-virt
@@ -0,0 +1,11 @@
+#compdef systemd-detect-virt
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Show this help]' \
+ '--version[Show package version]' \
+ {-c,--container}'[Only detect whether we are run in a container]' \
+ {-v,--vm}'[Only detect whether we are run in a VM]' \
+ {-q,--quiet}"[Don't output anything, just set return value]"
+
+#vim: set ft=zsh sw=4 ts=4 et