about summary refs log tree commit diff
path: root/Completion/Linux/_rpm
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux/_rpm')
-rw-r--r--Completion/Linux/_rpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/_rpm b/Completion/Linux/_rpm
index 9ef2d57d9..9a39773c4 100644
--- a/Completion/Linux/_rpm
+++ b/Completion/Linux/_rpm
@@ -202,7 +202,7 @@ while [[ -n "$state" ]]; do
     fi
     ;;
   tags)
-    if compset -P '*\{'; then
+    if compset -P '*%*\{'; then
       _wanted tags expl 'RPM tag' \
           compadd -M 'm:{a-z}={A-Z}' -S '\}' - \
                   "${(@)${(@f)$(_call tags rpm --querytags)}#RPMTAG_}" && ret=0