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 5, 2023
1 parent 2d636a3 commit 896b859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ _usb_ids()
# TODO:API: rename per conventions
_cd_devices()
{
_comp_compgen -ac "${cur:-/dev/}" -- -f -d -X "!*/?([amrs])cd*"
_comp_compgen -ac "${cur:-/dev/}" -- -f -d -X "!*/?([amrs])cd!(c-*)"
}

# DVD device names
Expand Down

0 comments on commit 896b859

Please sign in to comment.