about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-28 10:00:25 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-28 10:00:25 +0000
commitd726746c3d16f7606d984c94ca1cc6b59d192d30 (patch)
treed17ac391752eeebf923b789bb9dbe5684df125c0 /Completion/Linux
parent8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19 (diff)
downloadzsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.tar.gz
zsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.tar.xz
zsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.zip
manual/9897
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/_rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/_rpm b/Completion/Linux/_rpm
index a1bd5281b..d5978eb0b 100644
--- a/Completion/Linux/_rpm
+++ b/Completion/Linux/_rpm
@@ -190,7 +190,7 @@ while [[ -n "$state" ]]; do
     ;&
   package)
     _wanted packages expl 'RPM package' &&
-        compadd "$expl[@]" -M 'r:|-=* r:|=*' - $(rpm -qa) && ret=0
+        compadd "$expl[@]" -M 'r:|-=* r:|=*' - $(_call packages rpm -qa) && ret=0
     ;;
   package_file)
     if compset -P ftp://; then
@@ -205,7 +205,7 @@ while [[ -n "$state" ]]; do
     if compset -P '*\{'; then
       _wanted tags expl 'RPM tag' &&
           compadd "$expl[@]" -M 'm:{a-z}={A-Z}' -S '\}' - \
-                  "${(@)${(@f)$(rpm --querytags)}#RPMTAG_}" && ret=0
+                  "${(@)${(@f)$(_call tags rpm --querytags)}#RPMTAG_}" && ret=0
     else
       _message 'RPM format'
     fi