Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Oh my ViaRézo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaRézo
Oh my ViaRézo
Commits
8ed21d95
Commit
8ed21d95
authored
8 years ago
by
Ayaz Badouraly
Browse files
Options
Downloads
Patches
Plain Diff
Fixing typo in tip comment
parent
fd8d0fc3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
functions/vcs_themes.zsh
+10
-10
10 additions, 10 deletions
functions/vcs_themes.zsh
with
10 additions
and
10 deletions
functions/vcs_themes.zsh
+
10
−
10
View file @
8ed21d95
...
@@ -7,16 +7,16 @@
...
@@ -7,16 +7,16 @@
#
#
# In normal formats and actionformats the following replacements are done:
# In normal formats and actionformats the following replacements are done:
#
›
%s : The VCS in use (git, hg, svn, etc.).
#
%s : The VCS in use (git, hg, svn, etc.).
#
›
%b : Information about the current branch.
#
%b : Information about the current branch.
#
›
%a : An identifier that describes the action. Only makes sense in actionformats.
#
%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.
#
%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.
#
%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.
#
%u : The string from the unstagedstr style if there are unstaged changes in the repository.
#
›
%R : The base directory of the repository.
#
%R : The base directory of the repository.
#
›
%r : The repository name. If %R is /foo/bar/repoXY, %r is repoXY.
#
%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.
#
%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.
#
%m : A "misc" replacement. It is at the discretion of the backend to decide what this replacement expands to.
function
+vi-theme-default
()
{
function
+vi-theme-default
()
{
local
vcs_prompt_prefix
=
"%F{magenta}(%F{white}%s%F{magenta})%f"
local
vcs_prompt_prefix
=
"%F{magenta}(%F{white}%s%F{magenta})%f"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment