On 03/02/2011 12:16 AM, Helmut Grohne wrote:

This in turn is due to the fact that the ~ is not expanded. Not quoting
$file would solve this but it would probably lead to other problems.

I played with a test case outside of the mutt completion and think removing the quoting would not actually help. But adding a __expand_tilde_by_ref call probably would; could you test this?

--- a/completions/mutt
+++ b/completions/mutt
@@ -63,2 +63,3 @@ _muttconffiles()
         for file in "${newconffiles[@]}"; do
+            __expand_tilde_by_ref file
             [[ ! -f "$file" || "${sofar/ ${file} / }" != "$sofar" ]] &&



_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to