about summary refs log tree commit diff
path: root/Completion/Base/_regex_arguments
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-24 11:29:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-24 11:29:19 +0000
commit262d0ad88d7b09bf91fef22b7bb90a4b09a3a72e (patch)
treede4c55c02b5cccad792ec46c94614a84e9c1efa8 /Completion/Base/_regex_arguments
parent18aa6da676f228a90b30ad49a452b05aaad89718 (diff)
downloadzsh-262d0ad88d7b09bf91fef22b7bb90a4b09a3a72e.tar.gz
zsh-262d0ad88d7b09bf91fef22b7bb90a4b09a3a72e.tar.xz
zsh-262d0ad88d7b09bf91fef22b7bb90a4b09a3a72e.zip
zsh-workers/10223
Diffstat (limited to 'Completion/Base/_regex_arguments')
-rw-r--r--Completion/Base/_regex_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_regex_arguments b/Completion/Base/_regex_arguments
index 1d279fc75..b252f58db 100644
--- a/Completion/Base/_regex_arguments
+++ b/Completion/Base/_regex_arguments
@@ -64,7 +64,7 @@ _ra_comp () {
 _regex_arguments () {
   local regex funcname="$1"
   shift
-  regex=(${@/(#b):(*)/":_ra_comp ${(qqqq)match[1]}"})
+  regex=(${@:/(#b):(*)/":_ra_comp ${(qqqq)match[1]}"})
 
   eval \
   "$funcname"' () {