diff --git a/functions/vcs_themes.zsh b/functions/vcs_themes.zsh index 09cf1aa8f32b72019feb7544a90d02cf1653f6d0..900486991566daac5ab5fc26ecb1e61839fb9ecd 100644 --- a/functions/vcs_themes.zsh +++ b/functions/vcs_themes.zsh @@ -7,16 +7,16 @@ # # In normal formats and actionformats the following replacements are done: -#› %s : The VCS in use (git, hg, svn, etc.). -#› %b : Information about the current branch. -#› %a : An identifier that describes the action. Only makes sense in actionformats. -#› %i : The current revision number or identifier. For hg the hgrevformat style may be used to customize the output. -#› %c : The string from the stagedstr style if there are staged changes in the repository. -#› %u : The string from the unstagedstr style if there are unstaged changes in the repository. -#› %R : The base directory of the repository. -#› %r : The repository name. If %R is /foo/bar/repoXY, %r is repoXY. -#› %S : A subdirectory within a repository. If $PWD is /foo/bar/repoXY/beer/tasty, %S is beer/tasty. -#› %m : A "misc" replacement. It is at the discretion of the backend to decide what this replacement expands to. +# %s : The VCS in use (git, hg, svn, etc.). +# %b : Information about the current branch. +# %a : An identifier that describes the action. Only makes sense in actionformats. +# %i : The current revision number or identifier. For hg the hgrevformat style may be used to customize the output. +# %c : The string from the stagedstr style if there are staged changes in the repository. +# %u : The string from the unstagedstr style if there are unstaged changes in the repository. +# %R : The base directory of the repository. +# %r : The repository name. If %R is /foo/bar/repoXY, %r is repoXY. +# %S : A subdirectory within a repository. If $PWD is /foo/bar/repoXY/beer/tasty, %S is beer/tasty. +# %m : A "misc" replacement. It is at the discretion of the backend to decide what this replacement expands to. function +vi-theme-default() { local vcs_prompt_prefix="%F{magenta}(%F{white}%s%F{magenta})%f"