This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_gvm_complete() | |
{ | |
local CANDIDATES | |
COMPREPLY=() | |
if [ $COMP_CWORD -eq 1 ]; then | |
COMPREPLY=( $(compgen -W "install uninstall rm list use current version default selfupdate broadcast offline help flush" -- ${COMP_WORDS[COMP_CWORD]}) ) | |
elif [ $COMP_CWORD -eq 2 ]; then | |
case "${COMP_WORDS[COMP_CWORD-1]}" in |