1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00

29434: contrib.yo: Use PLUS() to avoid a + being silently dropped.

This commit is contained in:
Frank Terbeck 2011-06-02 16:15:23 +00:00
parent 8101886e48
commit 42a260df99
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-06-02 Frank Terbeck <ft@bewatermyfriend.org>
* 29434: Doc/Zsh/contrib.yo: Use PLUS() to avoid a + being
silently dropped.
2011-06-01 Frank Terbeck <ft@bewatermyfriend.org> 2011-06-01 Frank Terbeck <ft@bewatermyfriend.org>
* 29412: Completion/Unix/Command/_tmux: Disable sub-command * 29412: Completion/Unix/Command/_tmux: Disable sub-command
@ -14920,5 +14925,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5354 $ * $Revision: 1.5355 $
***************************************************** *****************************************************

View file

@ -1187,7 +1187,7 @@ code can communicate with the code that called it and through that,
change the system's behaviour. change the system's behaviour.
For configuration, hooks change the style context: For configuration, hooks change the style context:
example(:vcs_info:var(vcs-string)+var(hook-name):var(user-context):var(repo-root-name)) example(:vcs_info:var(vcs-string)PLUS()var(hook-name):var(user-context):var(repo-root-name))
To register functions to a hook, you need to list them in the tt(hooks) To register functions to a hook, you need to list them in the tt(hooks)
style in the appropriate context. style in the appropriate context.