[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6e373da8e1c73f79d0ccbd723f170ec8e100caf2

Ville Skyttä ville.skytta at iki.fi
Tue Mar 30 17:50:36 UTC 2010


The following commit has been merged in the master branch:
commit bb16f000302573fca8702cd57c27d749cce7746e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Mar 30 20:23:17 2010 +0300

    Get rid of one (not-prefixed-with-'command') grep.

diff --git a/contrib/cryptsetup b/contrib/cryptsetup
index e37fcb4..03ec2a3 100644
--- a/contrib/cryptsetup
+++ b/contrib/cryptsetup
@@ -2,7 +2,7 @@
 
 _cryptsetup_name()
 {
-    COMPREPLY=( $( compgen -W '$(command ls /dev/mapper | grep -v control)' \
+    COMPREPLY=( $( compgen -X control -W '$( command ls /dev/mapper )' \
         -- "$cur" ) )
 }
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list