From 37c7950a3f1c6d0b1d41858f00d769db683d85e5 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 11 Dec 2017 07:54:23 -0700 Subject: [PATCH] add vmctl completions for OpenBSD --- share/completions/vmctl.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 share/completions/vmctl.fish diff --git a/share/completions/vmctl.fish b/share/completions/vmctl.fish new file mode 100644 index 000000000..6591d24ef --- /dev/null +++ b/share/completions/vmctl.fish @@ -0,0 +1,4 @@ + +complete -c vmctl -xa 'console create load log reload reset start status stop pause unpause send receive' -n 'not __fish_seen_subcommand_from list console create load log reload reset start status stop pause unpause send receive' +complete -c vmctl -n '__fish_seen_subcommand_from console reload reset start status stop pause unpause send receive' -xa '(vmctl status | string match -e -v "MAXMEM" | string replace -r "^(\s+\S+\s+){7}" "")' +