From 188e6569dbb250b25bf3fe74b9d13007d5207b51 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 10 Dec 1999 14:47:55 +0000 Subject: manual/8992 --- Completion/User/_socket | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/User/_socket') diff --git a/Completion/User/_socket b/Completion/User/_socket index 7a7c7dccc..d6a8b7af7 100644 --- a/Completion/User/_socket +++ b/Completion/User/_socket @@ -9,7 +9,8 @@ local curcontext="$curcontext" state line expl typeset -A opt_args [[ $CURRENT -eq 2 ]] && _wanted options expl option && - { ! _style options prefix-needed || [[ "$PREFIX" = -* ]] } && + { ! zstyle -t ":completion${curcontext}:options" prefix-needed || + [[ "$PREFIX" = -* ]] } && compadd -M 'r:|[_-]=* r:|=*' "$expl[@]" - -version _arguments -C -s \ -- cgit 1.4.1