> bash-completion (20080705) unstable; urgency=low
[..]
>     - $filenames to $default (Closes: #463969)
>     - also show directory names (i.e. compgen -d) in COMPREPLY.

Oops!
I should have explained clearly about this...

"compgen -d" adds directories explicitly, thus it is unnecessary to use 
$default.
Moreover, $filenames is required to allow the completion for directories appends '/' automatically.

Could you please revert to $filenames?

--- bash_completion.orig        2008-07-07 14:07:28.000000000 +0900
+++ bash_completion     2008-07-07 14:07:46.000000000 +0900
@@ -4068,7 +4068,7 @@
                                -- "$cur" ) )
        fi
 } &&
-complete -F _gdb $default gdb
+complete -F _gdb $filenames gdb

 # Postgresql completion
 #


Regards,

--
Morita Sho <[EMAIL PROTECTED]>



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to