about summary refs log tree commit diff
path: root/Completion/Unix/Command/_yp
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-11-15 18:42:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-11-15 18:42:31 +0000
commitf2e7cf4a05a5b74a16bf4f0280ef26f19b686925 (patch)
treedb9dcb3fa7ae92dfb0bd3baa18f29f969b3b1428 /Completion/Unix/Command/_yp
parent195d8c5ec6feb88847f11e96a10b20bb543233c1 (diff)
downloadzsh-f2e7cf4a05a5b74a16bf4f0280ef26f19b686925.tar.gz
zsh-f2e7cf4a05a5b74a16bf4f0280ef26f19b686925.tar.xz
zsh-f2e7cf4a05a5b74a16bf4f0280ef26f19b686925.zip
16254: complete map names after ypmatch
16255: options for default output base for zcalc
Diffstat (limited to 'Completion/Unix/Command/_yp')
-rw-r--r--Completion/Unix/Command/_yp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_yp b/Completion/Unix/Command/_yp
index 76c59fac7..96e50ebb4 100644
--- a/Completion/Unix/Command/_yp
+++ b/Completion/Unix/Command/_yp
@@ -19,7 +19,8 @@ ypcat)
   _arguments -C -s "$_yp_args[@]" ':map name:->map' && ret=0
   ;;
 ypmatch)
-  _arguments -C -s "$_yp_args[@]" '*::key map:->keymap' && ret=0
+  _arguments -C -s "$_yp_args[@]" '::key map:->keymap' ':map name:->map' && 
+    ret=0
   ;;
 yppasswd)
   _users