Lines Matching refs:cur
54 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
99 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
103 if [[ -z ${verb-} && $cur = -* ]]; then
104 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
112 if [[ $cur = -* ]]; then
117 if [[ $cur = -* ]]; then
124 if [[ $cur = -* ]]; then
129 if [[ $cur = -* ]]; then
136 if [[ $cur = -* ]]; then
139 comps=$( compgen -A file -- "$cur" )
144 if [[ $cur = -* ]]; then
146 elif [[ -z $cur ]]; then
150 comps="$CONFIGS $( compgen -A file -- "$cur" )"
155 if [[ $cur = -* ]]; then
165 comps="$CONFIGS $( compgen -A file -- "$cur" )"
170 if [[ $cur = -* ]]; then
182 if [[ $cur = -* ]]; then
185 comps=$( compgen -A file -- "$cur" )
190 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )