about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-06-11 11:46:23 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-06-11 11:46:23 +0000
commit9cc9cc946643961eb5e8ef63be165dcfd0d2ae6a (patch)
tree4366868db63d201847099edde3ffc91e4e20a5a0 /Completion
parent4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373 (diff)
downloadzsh-9cc9cc946643961eb5e8ef63be165dcfd0d2ae6a.tar.gz
zsh-9cc9cc946643961eb5e8ef63be165dcfd0d2ae6a.tar.xz
zsh-9cc9cc946643961eb5e8ef63be165dcfd0d2ae6a.zip
(14841)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Utility/_values2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index d065961a6..9a6913dad 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -27,7 +27,7 @@ if compvalues -i "$@"; then
 
     compvalues -V noargs args opts
 
-    if [[ "$PREFIX" = *${argsep}${~test} ]]; then
+    if [[ -n "$argsep" && "$PREFIX" = *${argsep}${~test} ]]; then
       local name
 
       name="${PREFIX%%${argsep}*}"