Prevent rpm --define/-D completions from falling through.
This commit is contained in:
parent
fa65e312ea
commit
1453625e50
1
CHANGES
1
CHANGES
@ -127,6 +127,7 @@ bash-completion (1.x)
|
||||
* Fix sbcl file/dirname completion (Debian: #545743).
|
||||
* Add /sbin to $PATH when invoking lspci and lsusb.
|
||||
* Support .xz suffix in info page completions.
|
||||
* Prevent rpm --define/-D completions from falling through.
|
||||
|
||||
[ Todd Zullinger ]
|
||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||
|
@ -141,6 +141,10 @@ _rpm()
|
||||
's/^\s*compatible\s\+build\s\+archs\s*:\s*\(.*\)/\1/ p' )" -- "$cur" ) )
|
||||
return 0
|
||||
;;
|
||||
--define|-D)
|
||||
# argument required but no completions available
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${COMP_WORDS[1]}" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user