diff --git a/bash_completion b/bash_completion index e80fb774eec..8870dbf9152 100644 --- a/bash_completion +++ b/bash_completion @@ -2191,7 +2191,7 @@ _comp_compgen_usb_ids() # @since 2.12 _comp_compgen_cd_devices() { - _comp_compgen -c "${cur:-/dev/}" -- -f -d -X "!*/?([amrs])cd*" + _comp_compgen -c "${cur:-/dev/}" -- -f -d -X "!*/?([amrs])cd!(c-*)" } # DVD device names