about summary refs log tree commit diff
path: root/Completion/User/_yp
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/User/_yp
parent8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19 (diff)
downloadzsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.tar.gz
zsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.tar.xz
zsh-d726746c3d16f7606d984c94ca1cc6b59d192d30.zip
manual/9897
Diffstat (limited to 'Completion/User/_yp')
-rw-r--r--Completion/User/_yp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_yp b/Completion/User/_yp
index 1e86bf278..fe3c0a482 100644
--- a/Completion/User/_yp
+++ b/Completion/User/_yp
@@ -4,8 +4,8 @@ local curcontext="$curcontext" line state ret=1
 typeset -A opt_args
 
 if (( ! $+_yp_cache_maps )); then
-  _yp_cache_maps=( "${(@)${(@f)$(ypwhich -m)}%% *}" )
-  _yp_cache_nicks=( "${(@)${(@)${(@f)$(ypwhich -x)}#*\"}%%\"*}" )
+  _yp_cache_maps=( "${(@)${(@f)$(_call maps ypwhich -m)}%% *}" )
+  _yp_cache_nicks=( "${(@)${(@)${(@f)$(_call names ypwhich -x)}#*\"}%%\"*}" )
   _yp_args=(
     '(-x)-d[specify domain]:domain name:' \
     '(-x)-k[display keys]' \