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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaRézo
Oh my ViaRézo
Commits
06cdf442
Commit
06cdf442
authored
8 years ago
by
Ayaz Badouraly
Browse files
Options
Downloads
Patches
Plain Diff
Prioritizing untracked files over stash in prompt
parent
86c67eed
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
via.zsh-theme
+3
-3
3 additions, 3 deletions
via.zsh-theme
with
5 additions
and
5 deletions
README.md
+
2
−
2
View file @
06cdf442
...
...
@@ -16,8 +16,8 @@ Info
|:------:|:--------------------------:|:-----------------------------:|
| red | there are unstaged files |
`OHMYVIA_VCS_UNSTAGED_COLOR`
|
| yellow | there are staged files |
`OHMYVIA_VCS_STAGED_COLOR`
|
| blue |
stash stack is not empty
|
`OHMYVIA_VCS_
STASH
_COLOR`
|
| cyan |
there are untracked files
|
`OHMYVIA_VCS_
UNTRACKED
_COLOR`
|
| blue |
there are untracked files
|
`OHMYVIA_VCS_
UNTRACKED
_COLOR`
|
| cyan |
stash stack is not empty
|
`OHMYVIA_VCS_
STASH
_COLOR`
|
| green | working directory is clean |
`OHMYVIA_VCS_CLEAN_COLOR`
|
...
...
This diff is collapsed.
Click to expand it.
via.zsh-theme
+
3
−
3
View file @
06cdf442
...
...
@@ -32,8 +32,8 @@ zstyle ':vcs_info:*' check-for-changes true # enable %c and %u sequences usage
local
vcs_unstaged_color
=
${
OHMYVIA_VCS_UNSTAGED_COLOR
:-
"%F{red}"
}
local
vcs_staged_color
=
${
OHMYVIA_VCS_STAGED_COLOR
:-
"%F{yellow}"
}
local
vcs_
stash
_color
=
${
OHMYVIA_VCS_
STASH
_COLOR
:-
"%F{blue}"
}
local
vcs_
untracked
_color
=
${
OHMYVIA_VCS_
UNTRACKED
_COLOR
:-
"%F{cyan}"
}
local
vcs_
untracked
_color
=
${
OHMYVIA_VCS_
UNTRACKED
_COLOR
:-
"%F{blue}"
}
local
vcs_
stash
_color
=
${
OHMYVIA_VCS_
STASH
_COLOR
:-
"%F{cyan}"
}
local
vcs_clean_color
=
${
OHMYVIA_VCS_CLEAN_COLOR
:-
"%F{green}"
}
zstyle
':vcs_info:*'
unstagedstr
$vcs_unstaged_color
...
...
@@ -58,7 +58,7 @@ function +vi-git-stash() {
fi
}
zstyle
':vcs_info:git*+set-message:*'
hooks git-
untracked git-stash
zstyle
':vcs_info:git*+set-message:*'
hooks git-
stash git-untracked
# In normal formats and actionformats the following replacements are done:
# %s : The VCS in use (git, hg, svn, etc.).
...
...
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