gentoo/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
Sam James eee598673c
app-misc/devtodo: port to EAPI 7
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
2021-02-11 02:49:51 +00:00

28 lines
872 B
Diff

--- 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=()