diff options
Diffstat (limited to 'Completion/Base/Utility/_values')
-rw-r--r-- | Completion/Base/Utility/_values | 2 |
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}*}" |