bash-completion.sh
branchv_0
changeset 41 e1339b8e838e
parent 39 f33464965693
equal deleted inserted replaced
40:59f3cb26bfe7 41:e1339b8e838e
    36 	)
    36 	)
    37 
    37 
    38 	COLOR_SCHEMES=(
    38 	COLOR_SCHEMES=(
    39 		"greenish"
    39 		"greenish"
    40 		"amberish"
    40 		"amberish"
    41 		"monochrome"
    41 		"black-and-white"
    42 		"midnight"
    42 		"midnight"
    43 	)
    43 	)
    44 
    44 
    45 	if   [[ "$w1" == "--relation"                      && "x$w0" == "x" ]];    then COMPREPLY=("'.+'")
    45 	if   [[ "$w1" == "--relation"                      && "x$w0" == "x" ]];    then COMPREPLY=("'.+'")
    46 	elif [[ "$w1" == "--write-types"                                    ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
    46 	elif [[ "$w1" == "--write-types"                                    ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))