You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spac...

28 lines
872 B

--- a/contrib/devtodo.bash-completion
+++ b/contrib/devtodo.bash-completion
@@ -15,20 +15,20 @@ _devtodo() {
--purge"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
-p|--priority)
COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \
- -- ${cur}) )
+ -- "${cur}") )
;;
--database-loaders)
- COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) )
+ COMPREPLY=( $(compgen -W "xml binary" -- "${cur}") )
;;
-l|--link|--*database)
- COMPREPLY=( $(compgen -f -- ${cur}) )
+ _filedir
;;
*)
COMPREPLY=()