about summary refs log tree commit diff
path: root/Completion/Core/compinit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/compinit')
-rw-r--r--Completion/Core/compinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/compinit b/Completion/Core/compinit
index b14e32a89..bfb697279 100644
--- a/Completion/Core/compinit
+++ b/Completion/Core/compinit
@@ -358,7 +358,7 @@ Have fun
       tmp="'*:options' prefix-needed yes"
       [[ "$val" = hide* ]] &&
           tmp="$tmp
-zstyle '*:options' prefix-hidden yes"
+zstyle ':completion*:options' prefix-hidden yes"
       ;;    
     group_matches)
       tmp="'*' group-name ''"
@@ -403,7 +403,7 @@ zstyle '*:options' prefix-hidden yes"
       tmp="'*' last-prompt 'yes'"
       ;;
     esac
-    [[ -n "$tmp" ]] && style="${style}${cmt}zstyle ${tmp}
+    [[ -n "$tmp" ]] && style="${style}${cmt}zstyle :completion${tmp}
 "
   done