add vmctl completions for OpenBSD

This commit is contained in:
Aaron Bieber 2017-12-11 07:54:23 -07:00 committed by Fabian Homborg
parent eec47a173d
commit 37c7950a3f

View file

@ -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}" "")'