Trivial cleanups.

This commit is contained in:
Ville Skyttä 2010-10-07 20:07:46 +03:00
parent 4cd7c7c872
commit a55f763363

View File

@ -247,7 +247,7 @@ _rpm()
--clean --rmsource --rmspec --test --sign --buildroot \
--target --nobuild --nodeps --nodirtokens" -- "$cur" ) )
elif [[ ${COMP_WORDS[1]} == -b* ]]; then
_filedir 'spec'
_filedir spec
else
_filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
fi
@ -274,13 +274,12 @@ _rpm()
COMPREPLY=( $( compgen -W '--clean --rmsource --rmspec' \
-- "$cur" ) )
else
_filedir 'spec'
_filedir spec
fi
;;
--import|--dbpath|--root)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--import --dbpath --root' \
-- "$cur" ) )
COMPREPLY=( $( compgen -W '--import --dbpath --root' -- "$cur" ) )
else
_filedir
fi