From c73db02271a67e9ceb42115dde6be997ec4b89ef Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 10 Aug 2016 15:48:20 -0400 Subject: split up grp-{hostname,locale}, grp-resolve/systemd-resolve{,d}; shell completion --- .../systemd-detect-virt/systemd-detect-virt.completion.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/grp-initutils/systemd-detect-virt/systemd-detect-virt.completion.zsh (limited to 'src/grp-initutils') diff --git a/src/grp-initutils/systemd-detect-virt/systemd-detect-virt.completion.zsh b/src/grp-initutils/systemd-detect-virt/systemd-detect-virt.completion.zsh new file mode 100644 index 0000000000..a0c7df727c --- /dev/null +++ b/src/grp-initutils/systemd-detect-virt/systemd-detect-virt.completion.zsh @@ -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 -- cgit v1.2.3-54-g00ecf