Prevent rpm --define/-D completions from falling through.

This commit is contained in:
Ville Skyttä 2009-09-27 10:18:43 +03:00
parent fa65e312ea
commit 1453625e50
2 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,7 @@ bash-completion (1.x)
* Fix sbcl file/dirname completion (Debian: #545743). * Fix sbcl file/dirname completion (Debian: #545743).
* Add /sbin to $PATH when invoking lspci and lsusb. * Add /sbin to $PATH when invoking lspci and lsusb.
* Support .xz suffix in info page completions. * Support .xz suffix in info page completions.
* Prevent rpm --define/-D completions from falling through.
[ Todd Zullinger ] [ Todd Zullinger ]
* Make yum complete on filenames after install, deplist, update and upgrade * Make yum complete on filenames after install, deplist, update and upgrade

View File

@ -141,6 +141,10 @@ _rpm()
's/^\s*compatible\s\+build\s\+archs\s*:\s*\(.*\)/\1/ p' )" -- "$cur" ) ) 's/^\s*compatible\s\+build\s\+archs\s*:\s*\(.*\)/\1/ p' )" -- "$cur" ) )
return 0 return 0
;; ;;
--define|-D)
# argument required but no completions available
return 0
;;
esac esac
case "${COMP_WORDS[1]}" in case "${COMP_WORDS[1]}" in