Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Submitting vcs_info function
- X-seq: zsh-workers 25693
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Submitting vcs_info function
- Date: Fri, 19 Sep 2008 16:57:24 +0200
- In-reply-to: <20080919133411.GN2182@xxxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080917201859.GU2182@xxxxxxxxxxxxxxx> <20080918112003.45911104@news01> <20080918165212.GY2182@xxxxxxxxxxxxxxx> <200809181700.m8IH0rmj019423@xxxxxxxxxxxxxx> <20080919093449.GI2182@xxxxxxxxxxxxxxx> <20080919140229.3c4e9fcd@news01> <20080919133411.GN2182@xxxxxxxxxxxxxxx>
[moved to workers]
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>:
> One minor glitch in the list of styles:
Here is another:
Index: Doc/Zsh/contrib.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/contrib.yo,v
retrieving revision 1.85
diff -u -r1.85 contrib.yo
--- Doc/Zsh/contrib.yo 19 Sep 2008 13:50:41 -0000 1.85
+++ Doc/Zsh/contrib.yo 19 Sep 2008 14:55:41 -0000
@@ -581,8 +581,10 @@
function you want to call from tt(precmd) if you want to include up-to-date
information in your prompt (see Variable description below). If an argument
is given, that string will be used instead of tt(default) in the
-user-context field of the style context.)
-sitem(tt(vcs_info_lastmsg))(Outputs the last var(${vcs_info_msg_*_}) value.
+user-context field of the style context.
+)
+item(tt(vcs_info_lastmsg))(
+Outputs the last var(${vcs_info_msg_*_}) value.
Takes into account the value of the use-prompt-escapes style in
var(':vcs_info:formats:command:-all-'). It also only prints tt(max-exports)
values.
@@ -591,8 +593,10 @@
item(tt(vcs_info_printsys) [var(user-context)])(
Prints a list of all
supported version control systems. Useful to find out possible contexts
-(and which of them are enabled) or values for the var(disable) style.)
-sitem(tt(vcs_info_setsys))(Initializes var(vcs_info)'s internal list of
+(and which of them are enabled) or values for the var(disable) style.
+)
+item(tt(vcs_info_setsys))(
+Initializes var(vcs_info)'s internal list of
available backends. With this function, you can add support for new VCSs
without restarting the shell.
)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author