From 11cb9ab1a83e048ca377dd684ca128425a4d9b2d Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Sat, 3 Dec 2016 07:59:37 -0500 Subject: [PATCH] Update git-info README.md to fix the "Special Action Contexts" title mistakenly being "Untracked Contexts", and other minor changes. --- modules/git-info/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/git-info/README.md b/modules/git-info/README.md index 469ff13..956d540 100644 --- a/modules/git-info/README.md +++ b/modules/git-info/README.md @@ -28,16 +28,16 @@ also untracked files. It can be enabled with the following zstyle: zstyle ':zim:git-info' verbose 'yes' In non-verbose mode, the 'untracked' context is not available (see Main -Contexts below), and also untracked files are not considered for computing the -'dirty' context. Using `git status` or checking for untracked files is +Contexts below), and untracked files are also not considered for computing the +'dirty' context. Using `git status` or checking for untracked files can be [expensive](https://gist.github.com/sindresorhus/3898739). Theming ------- -To display information about the current repository in a prompt, define the -following styles in the `prompt_name_setup` function, where the syntax for -setting a style is: +To display information about the current repository in a prompt, define your +custom styles in the `prompt_name_setup` function, where the syntax for setting +a style is: zstyle ':zim:git-info:context' format 'string' @@ -59,7 +59,7 @@ setting a style is: | stashed | %S | Stashed states count | untracked | %u | Untracked files count (only if verbose enabled) -### Untracked Contexts +### Special Action Contexts | Name | Format | Default Value | --------------------------- | :-----: | -------------------------------------