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

This commit is contained in:
Ville Skyttä 2011-04-25 13:48:31 +03:00
parent d4e177a6ab
commit f5d49065d2
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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