Skip to content

Commit

Permalink
fix(_cd_devices): /dev/cdc-* CDC device false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Aug 6, 2023
1 parent 128640e commit 5250728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Expand Up @@ -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
Expand Down

0 comments on commit 5250728

Please sign in to comment.