Update git-info README.md
to fix the "Special Action Contexts" title mistakenly being "Untracked Contexts", and other minor changes.
This commit is contained in:
parent
708f17b18f
commit
9f4c21cee8
1 changed files with 6 additions and 6 deletions
|
@ -28,16 +28,16 @@ also untracked files. It can be enabled with the following zstyle:
|
||||||
zstyle ':zim:git-info' verbose 'yes'
|
zstyle ':zim:git-info' verbose 'yes'
|
||||||
|
|
||||||
In non-verbose mode, the 'untracked' context is not available (see Main
|
In non-verbose mode, the 'untracked' context is not available (see Main
|
||||||
Contexts below), and also untracked files are not considered for computing the
|
Contexts below), and untracked files are also not considered for computing the
|
||||||
'dirty' context. Using `git status` or checking for untracked files is
|
'dirty' context. Using `git status` or checking for untracked files can be
|
||||||
[expensive](https://gist.github.com/sindresorhus/3898739).
|
[expensive](https://gist.github.com/sindresorhus/3898739).
|
||||||
|
|
||||||
Theming
|
Theming
|
||||||
-------
|
-------
|
||||||
|
|
||||||
To display information about the current repository in a prompt, define the
|
To display information about the current repository in a prompt, define your
|
||||||
following styles in the `prompt_name_setup` function, where the syntax for
|
custom styles in the `prompt_name_setup` function, where the syntax for setting
|
||||||
setting a style is:
|
a style is:
|
||||||
|
|
||||||
zstyle ':zim:git-info:context' format 'string'
|
zstyle ':zim:git-info:context' format 'string'
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ setting a style is:
|
||||||
| stashed | %S | Stashed states count
|
| stashed | %S | Stashed states count
|
||||||
| untracked | %u | Untracked files count (only if verbose enabled)
|
| untracked | %u | Untracked files count (only if verbose enabled)
|
||||||
|
|
||||||
### Untracked Contexts
|
### Special Action Contexts
|
||||||
|
|
||||||
| Name | Format | Default Value
|
| Name | Format | Default Value
|
||||||
| --------------------------- | :-----: | -------------------------------------
|
| --------------------------- | :-----: | -------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue