about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-28 17:35:22 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-28 17:35:22 +0000
commita9a69cc2d126f4b82eabcc2ec263715afbfd3d98 (patch)
tree7418061a47966e4adbb9c1ac4095ff6b2edd7dba /Completion/Core
parent17ef03b99b637609286ea8fe365f90df91a577ab (diff)
downloadzsh-a9a69cc2d126f4b82eabcc2ec263715afbfd3d98.tar.gz
zsh-a9a69cc2d126f4b82eabcc2ec263715afbfd3d98.tar.xz
zsh-a9a69cc2d126f4b82eabcc2ec263715afbfd3d98.zip
zsh-workers/9463
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_match2
-rw-r--r--Completion/Core/_menu2
-rw-r--r--Completion/Core/compinit4
3 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Core/_match b/Completion/Core/_match
index 0a9d755c4..f482b11e5 100644
--- a/Completion/Core/_match
+++ b/Completion/Core/_match
@@ -1,7 +1,7 @@
 #autoload
 
 # This is intended to be used as a completer function after the normal
-# completer as in: `compstyle "*" completer _complete _match'.
+# completer as in: `zstyle "*" completer _complete _match'.
 # It temporarily switches on pattern matching, allowing you to try 
 # completion on patterns without having to setopt glob_complete.
 #
diff --git a/Completion/Core/_menu b/Completion/Core/_menu
index 5b864c6a1..4caa2b03f 100644
--- a/Completion/Core/_menu
+++ b/Completion/Core/_menu
@@ -6,7 +6,7 @@ local curcontext="${curcontext}:menu"
 # implemented with the new completion system.
 # Use this one before the normal _complete completer, as in:
 #
-#   compstyle "*" completer _menu _complete
+#   zstyle "*" completer _menu _complete
 
 if [[ -n "$compstate[old_list]" ]]; then
 
diff --git a/Completion/Core/compinit b/Completion/Core/compinit
index 97eca594e..b14e32a89 100644
--- a/Completion/Core/compinit
+++ b/Completion/Core/compinit
@@ -358,7 +358,7 @@ Have fun
       tmp="'*:options' prefix-needed yes"
       [[ "$val" = hide* ]] &&
           tmp="$tmp
-compstyle '*:options' prefix-hidden yes"
+zstyle '*:options' prefix-hidden yes"
       ;;    
     group_matches)
       tmp="'*' group-name ''"
@@ -403,7 +403,7 @@ compstyle '*:options' prefix-hidden yes"
       tmp="'*' last-prompt 'yes'"
       ;;
     esac
-    [[ -n "$tmp" ]] && style="${style}${cmt}compstyle ${tmp}
+    [[ -n "$tmp" ]] && style="${style}${cmt}zstyle ${tmp}
 "
   done