about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-17 17:08:15 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-17 17:08:15 +0000
commitfe461d9a8c154010db7d8f06d059fa1cb4e61081 (patch)
tree00fced45ce6a567fe62caa45563cae2fbecf0d5f
parentcd703bda4a6b406da4f5c8a465bed1180de6691d (diff)
downloadzsh-fe461d9a8c154010db7d8f06d059fa1cb4e61081.tar.gz
zsh-fe461d9a8c154010db7d8f06d059fa1cb4e61081.tar.xz
zsh-fe461d9a8c154010db7d8f06d059fa1cb4e61081.zip
zsh-workers/8658
-rw-r--r--Completion/Core/compinit4
-rw-r--r--Doc/Zsh/compsys.yo2
2 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Core/compinit b/Completion/Core/compinit
index 43c8db7e7..c2a78e99a 100644
--- a/Completion/Core/compinit
+++ b/Completion/Core/compinit
@@ -406,7 +406,7 @@ compstyle '*:options' prefix-hidden yes"
       tmp="':expand-word' ${name#expandword_} ${(qq)val}"
       ;;
     history_*)
-      tmp="'*:history-words ${name#history_} ${(qq)val}"
+      tmp="'*:history-words' ${name#history_} ${(qq)val}"
       ;;
     completer)
       tmp="'*' completer ${${(qqs.:.)val}}"
@@ -421,7 +421,7 @@ compstyle '*:options' prefix-hidden yes"
 
   eval "${style}"
 
-  print "$style" >> ${HOME}/.zsh-styles
+  print "$style" >>! ${HOME}/.zsh-styles
 }
 
 # Very simple interface for setting styles:
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index bfda8b145..7181b86b6 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1598,7 +1598,7 @@ more specific context name without havin to change and reset the
 tt(curcontext) parameter (which would otherwise have the same effect).
 )
 item(tt(_requested))(
-A function that uses t(_tags) to register tags and then calls it to
+A function that uses tt(_tags) to register tags and then calls it to
 loop over the requested sets of tags should call this function to
 check if a certain tag is currently requested. This normally has to be 
 done in a loop such as: