vcs_info
Check-in [38de85a4a4]
Not logged in
Public Repositories
mwm's Repositories

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:One last round of formatting cleanup, fix a few more typos.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:38de85a4a43dd5bff303260949efd18b99933549
User & Date: mwm 2011-02-19 07:57:31
Context
2011-02-19
08:16
Get the trunk name right if you have tags check-in: 4b3b8f3599 user: mwm tags: trunk, r0.1
07:57
One last round of formatting cleanup, fix a few more typos. check-in: 38de85a4a4 user: mwm tags: trunk
07:55
Finish instruction (hah) on running on 4.3.10, more formatting cleanup. check-in: 0372c81c03 user: mwm tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to README.wiki.

     1      1   <h2>Installation</h2>
     2      2   
     3         -<b>Note:</b> This uses the vcs_info from the zshell version 4.3.11. If
     4         -you are running 4.3.10, you can copy the vcs_info software
     5         -from the 4.3.11 distribution of zsh and install that in place of what
     6         -was shipped with 4.3.10.
            3  +<b>Note:</b> This uses the vcs_info from zshell version 4.3.11. If you
            4  +are running 4.3.10, you can copy the vcs_info software from the 4.3.11
            5  +distribution of zsh and install that in place of what was shipped with
            6  +4.3.10.
     7      7   
     8      8   The VCS_INFO*fossil files should be copied to
     9      9   <tt><var>prefix</var>/share/zsh/<var>version</var>/functions/VCS_Info/Backends</tt>.
    10         -<prefix> is probably either <tt>/usr/local</tt> or <tt>/usr</tt>,
           10  +<var>prefix</var> is probably either <tt>/usr/local</tt> or <tt>/usr</tt>,
    11     11   depending on your system.  <var>version</var> can be found by running
    12     12   <tt>zsh --version</tt>.
    13     13   
    14         -Then, as root in the <tt><var>prefix</var>/share/zsh/<var>version</var>>/functions</tt>
           14  +Then, as root in the <tt><var>prefix</var>/share/zsh/<var>version</var>/functions</tt>
    15     15   directory, run:
    16     16   
    17     17   <pre><tt>setopt extendedglob nomark_dirs
    18     18   zcompile -U -M VCS_Info.zwc VCS_Info/*~*.zwc(^/)
    19     19   </tt></pre>
    20     20   
    21     21   <h2>Usage</h2>
................................................................................
    24     24   vcs_info - see the zsh docs for information.
    25     25   
    26     26   The displayed revision (<tt>%i</tt> or <tt>%r</tt> in
    27     27   <var>branchformat</var>) is the first 10 digits of the artifact id by
    28     28   default. You can change this by setting the <var>fsrevformat</var>
    29     29   variable like so:
    30     30   
    31         -<tt>zstyle ':vcs_info:fossil:*' fsrevformat '%.<var>max</var>h'</tt>
           31  +<tt>zstyle ':vcs_info:fossil:*' fsrevformat '%.<var><max></var>h'</tt>
    32     32   
    33         -<tt>h</tt> is the only valid format character. Change <var>max</var>
    34         -to the number of digits you want to display. As state, the default
           33  +<tt>h</tt> is the only valid format character. Change <var><max></var>
           34  +to the number of digits you want to display. As stated, the default
    35     35   format is <tt>%.10h</tt>. Changing the format to <tt>'%h'</tt> will
    36     36   print the entire artifact id (not recommended).  Open a ticket (see
    37     37   below) if you think this should change.
    38     38   
    39     39   The misc field (<tt>%m</tt>) is currently set to the
    40     40   repository. Suggestions for alternatives are welcome (data from the
    41     41   <tt>fossil status</tt> command preferred).