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

PATCH: contrib.yo: fix error in the vcs_info docs



---

Someone on IRC was confused about the vcsi alias example in contrib.yo.
Turns out the context used in the nearby sentence may have been the
reason for that. This should fix that.

Regards, Frank


 Doc/Zsh/contrib.yo |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 51a8e83..858128a 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -777,7 +777,7 @@ Here is how to print the vcs information as a command (not in a prompt):
 example(alias vcsi='vcs_info command; vcs_info_lastmsg')
 
 This way, you can even define different formats for output via
-tt(vcs_info_lastmsg) in the ':vcs_info:formats:command:*' namespace.
+tt(vcs_info_lastmsg) in the ':vcs_info:*:command:*' namespace.
 
 
 texinode(Prompt Themes)(ZLE Functions)(Version Control Information)(User Contributions)
-- 
1.6.5.rc2



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