Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: buglet fixes to new compstyle stuff



Still haven't started messing around with the nice new stuff properly,
but I noticed a few things.  They should be self-explanatory.

Index: Completion/Core/compinit
===================================================================
RCS file: /projects/zsh/zsh/Completion/Core/compinit,v
retrieving revision 1.1.1.35
diff -u -r1.1.1.35 compinit
--- Completion/Core/compinit	1999/11/17 09:57:16	1.1.1.35
+++ Completion/Core/compinit	1999/11/17 16:14:50
@@ -406,7 +406,7 @@
       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 @@
 
   eval "${style}"
 
-  print "$style" >> ${HOME}/.zsh-styles
+  print "$style" >>! ${HOME}/.zsh-styles
 }
 
 # Very simple interface for setting styles:
Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /projects/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.1.1.73
diff -u -r1.1.1.73 compsys.yo
--- Doc/Zsh/compsys.yo	1999/11/17 09:57:22	1.1.1.73
+++ Doc/Zsh/compsys.yo	1999/11/17 16:45:05
@@ -1598,7 +1598,7 @@
 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:



Messages sorted by: Reverse Date, Date, Thread, Author