From fe461d9a8c154010db7d8f06d059fa1cb4e61081 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 17 Nov 1999 17:08:15 +0000 Subject: zsh-workers/8658 --- Completion/Core/compinit | 4 ++-- Doc/Zsh/compsys.yo | 2 +- 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: -- cgit 1.4.1