Get rid of one (not-prefixed-with-'command') grep.
This commit is contained in:
parent
0271e15695
commit
bb16f00030
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
_cryptsetup_name()
|
_cryptsetup_name()
|
||||||
{
|
{
|
||||||
COMPREPLY=( $( compgen -W '$(command ls /dev/mapper | grep -v control)' \
|
COMPREPLY=( $( compgen -X control -W '$( command ls /dev/mapper )' \
|
||||||
-- "$cur" ) )
|
-- "$cur" ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user