[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 486369d45be92c0f1ffa55a153d645f1e01bb16d

Ville Skyttä ville.skytta at iki.fi
Fri Aug 20 10:38:57 UTC 2010


The following commit has been merged in the master branch:
commit 37308e35949fc9cf463860c66b0666ab8ac2f9c6
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Aug 20 13:35:12 2010 +0300

    Simplify _filedir arguments.

diff --git a/contrib/mcrypt b/contrib/mcrypt
index e777150..9e746fb 100644
--- a/contrib/mcrypt
+++ b/contrib/mcrypt
@@ -58,12 +58,12 @@ _mcrypt()
             --list-hash --verbose --quiet --help \
             --version --license' -- "$cur" ) )
     elif [[ ${COMP_WORDS[0]} == mdecrypt ]]; then
-        _filedir '@(nc)'
+        _filedir nc
     else
         decrypt=0
         for (( i=1; i < ${#COMP_WORDS[@]}-1; i++ )); do
             if [[ ${COMP_WORDS[i]} == -@(d|-decrypt) ]]; then
-                _filedir '@(nc)'
+                _filedir nc
                 decrypt=1
                 break
             fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list