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

This commit is contained in:
Ville Skyttä 2010-03-30 20:23:17 +03:00
parent 0271e15695
commit bb16f00030

View File

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