Sha256: 08e271f1d4964add3a272379b2583c5837691874d97b93729eb187761b2d1883

Contents?: true

Size: 300 Bytes

Versions: 42

Compression:

Stored size: 300 Bytes

Contents

#!/usr/bin/env bash

_kameleon() {
    COMPREPLY=()
    local word="${COMP_WORDS[COMP_CWORD]}"

    if [ "$COMP_CWORD" -eq 1 ]; then
        local commands="$(compgen -W "$(kameleon commands)" -- "$word")"
        COMPREPLY=( $commands $projects )
    fi
}

complete -o default -F _kameleon kameleon

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
kameleon-builder-2.10.2 completion/kameleon.bash
kameleon-builder-2.10.1 completion/kameleon.bash
kameleon-builder-2.9.4 completion/kameleon.bash
kameleon-builder-2.9.2 completion/kameleon.bash
kameleon-builder-2.9.1 completion/kameleon.bash
kameleon-builder-2.9.0 completion/kameleon.bash
kameleon-builder-2.8.3 completion/kameleon.bash
kameleon-builder-2.8.2 completion/kameleon.bash
kameleon-builder-2.8.1 completion/kameleon.bash
kameleon-builder-2.7.8 completion/kameleon.bash
kameleon-builder-2.7.7 completion/kameleon.bash
kameleon-builder-2.7.6 completion/kameleon.bash
kameleon-builder-2.7.5 completion/kameleon.bash
kameleon-builder-2.7.4 completion/kameleon.bash
kameleon-builder-2.7.3 completion/kameleon.bash
kameleon-builder-2.7.2 completion/kameleon.bash
kameleon-builder-2.7.1 completion/kameleon.bash
kameleon-builder-2.7.0 completion/kameleon.bash
kameleon-builder-2.6.7 completion/kameleon.bash
kameleon-builder-2.6.6 completion/kameleon.bash