[Bash-completion-devel] [RFC] Re: ./current r1175: Bogus completion when mounting subdirs fixed (Closes: #322238)

David Paleino d.paleino at gmail.com
Sat Sep 6 16:27:20 UTC 2008


Hi,

On Sat, 06 Sep 2008 18:12:52 +0200, David Paleino wrote:

> === modified file 'bash_completion'
> --- a/bash_completion	2008-09-06 14:59:47 +0000
> +++ b/bash_completion	2008-09-06 16:12:52 +0000
> @@ -764,7 +764,7 @@
>  
>  	return 0
>  }
> -complete -F _mount $default $filenames mount
> +complete -F _mount $default $dirnames mount
>  
>  # Linux rmmod(8) completion. This completes on a list of all currently
>  # installed kernel modules.

Is this change affecting something I can't see here?
It seemed "too easy" to me fixing the bug (see subject for bug number), but I
can't actually think of any situation which might have problems from this
change.

I've committed the change, but feel free to revert it (and possibly remove the
"pending" tag from the bug) if you see any hidden problem.

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20080906/6415dd4e/attachment-0001.pgp 


More information about the Bash-completion-devel mailing list