- add --triggerscripts option to rpm completion

This commit is contained in:
ianmacd 2003-07-21 08:05:34 +00:00
parent 58e1e1a5b1
commit 7cec9a3b4b

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.594 2003/07/21 07:59:24 ianmacd Exp $
# $Id: bash_completion,v 1.595 2003/07/21 10:05:34 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -1444,8 +1444,8 @@ _rpm()
--eval --pipe --showrc --info --list --state \
--docfiles --configfiles --queryformat \
--conflicts --obsoletes --pkgid --hdrid \
--fileid --tid --nodigest --nosignature' \
-- $cur ) )
--fileid --tid --nodigest --nosignature \
--triggerscripts' -- $cur ) )
elif [ "${COMP_LINE#* -*([^ -])a}" == "$COMP_LINE" ]; then
_rpm_installed_packages
fi