Skip to content

no bash completion #10

@phips0

Description

@phips0

VmChmap make no bash-completion, but for zsh

grafik

Edit:
I think it has to look like this for that, but it's broken.

_VmChamp_bash_complete() {
	COMPREPLY=()
	local cur completions base
	cur="${COMP_WORDS[COMP_CWORD]}"
	completions="$( VmChamp '[complete]' "${cur}")"
	local IFS=$'\n'
	COMPREPLY=($(compgen -W "${completions}" -- "${cur}"))
}

complete -F _VmChamp_bash_complete VmChamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions