The following commit has been merged in the master branch:
commit bb16f000302573fca8702cd57c27d749cce7746e
Author: Ville Skyttä <[email protected]>
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
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits