[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-119-gf5d4906

Ville Skyttä ville.skytta at iki.fi
Mon Apr 25 10:48:56 UTC 2011


The following commit has been merged in the master branch:
commit f5d49065d2be794e8fc486f54f5fb43aafb6956e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Apr 25 13:48:31 2011 +0300

    Expand tilde in mutt query command (Alioth: #312759).

diff --git a/CHANGES b/CHANGES
index 6f0a37e..dcbe167 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@ bash-completion (2.x)
     redirection handling, use it in many completions.
   * Replace actual sysconfdir in bash_completion on install (Alioth: #313081).
   * Activate killall completion on Darwin (Alioth: #312350).
+  * Expand tilde in mutt query command (Alioth: #312759).
 
   [ Guillaume Rousse ]
   * added puppet completion, using work from Mathieu Parent (sathieudebian.org)
diff --git a/completions/mutt b/completions/mutt
index 8c40b94..587f3a5 100644
--- a/completions/mutt
+++ b/completions/mutt
@@ -101,6 +101,7 @@ _muttquery()
     if [[ -z "$cur" || -z "$querycmd" ]]; then
         queryresults=()
     else
+        __expand_tilde_by_ref querycmd
         queryresults=( $( $querycmd | \
             sed -n '2,$s|^\([^[:space:]]\{1,\}\).*|\1|p' ) )
     fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list