Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
5289edce
Commit
5289edce
authored
Nov 20, 2015
by
Marc Cornellà
Browse files
Merge pull request #4592 from jstnlef/fix-weird-unstaged-behavior
Fixing strange git unstaged prompt behavior
parents
c1204173
76c42386
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/agnoster.zsh-theme
View file @
5289edce
...
@@ -36,7 +36,7 @@ CURRENT_BG='NONE'
...
@@ -36,7 +36,7 @@ CURRENT_BG='NONE'
local
LC_ALL
=
""
LC_CTYPE
=
"en_US.UTF-8"
local
LC_ALL
=
""
LC_CTYPE
=
"en_US.UTF-8"
# NOTE: This segment separator character is correct. In 2012, Powerline changed
# NOTE: This segment separator character is correct. In 2012, Powerline changed
# the code points they use for their special characters. This is the new code point.
# the code points they use for their special characters. This is the new code point.
# If this is not working for you, you probably have an old version of the
# If this is not working for you, you probably have an old version of the
# Powerline-patched fonts installed. Download and install the new version.
# Powerline-patched fonts installed. Download and install the new version.
# Do not submit PRs to change this unless you have reviewed the Powerline code point
# Do not submit PRs to change this unless you have reviewed the Powerline code point
# history and have new information.
# history and have new information.
...
@@ -118,7 +118,7 @@ prompt_git() {
...
@@ -118,7 +118,7 @@ prompt_git() {
zstyle
':vcs_info:*'
get-revision
true
zstyle
':vcs_info:*'
get-revision
true
zstyle
':vcs_info:*'
check-for-changes
true
zstyle
':vcs_info:*'
check-for-changes
true
zstyle
':vcs_info:*'
stagedstr
'✚'
zstyle
':vcs_info:*'
stagedstr
'✚'
zstyle
':vcs_info:
git:
*'
unstagedstr
'●'
zstyle
':vcs_info:*'
unstagedstr
'●'
zstyle
':vcs_info:*'
formats
' %u%c'
zstyle
':vcs_info:*'
formats
' %u%c'
zstyle
':vcs_info:*'
actionformats
' %u%c'
zstyle
':vcs_info:*'
actionformats
' %u%c'
vcs_info
vcs_info
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment