Complete on installed packages, dirs and *.rpm, *.spec only.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1489 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
b14fb7a039
commit
042918437c
|
@ -30,7 +30,9 @@ _rpmlint()
|
|||
-E --extractdir -p --profile -V --version -n \
|
||||
--noexception -f --file' -- $cur ) )
|
||||
else
|
||||
_filedir
|
||||
type _rpm_installed_packages &>/dev/null && \
|
||||
_rpm_installed_packages
|
||||
_filedir '@(rpm|spec)'
|
||||
fi
|
||||
}
|
||||
complete -F _rpmlint $filenames rpmlint
|
||||
|
|
Loading…
Reference in New Issue