jlec 14/11/12 07:52:33 Added: devtodo-0.1.20-bashcom_spaces.patch Log: app-misc/devtodo: Fix bash completion with pyth using spaces, #417945; drop old (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Revision Changes Path 1.1 app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch?rev=1.1&content-type=text/plain Index: devtodo-0.1.20-bashcom_spaces.patch =================================================================== contrib/devtodo.bash-completion | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/devtodo.bash-completion b/contrib/devtodo.bash-completion index 07139b0..c058dad 100644 --- 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=()
