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
Ohmyzsh
Commits
f09fed61
Commit
f09fed61
authored
Jul 03, 2018
by
Unknown-Guy
Committed by
Marc Cornellà
Jul 03, 2018
Browse files
change mortalscumbag to use core git_current_branch (#6965)
parent
7cba6bb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/mortalscumbag.zsh-theme
View file @
f09fed61
...
...
@@ -10,7 +10,7 @@ function my_git_prompt() {
fi
# is branch behind?
if $(echo "$(git log HEAD..origin/$(current_branch) 2> /dev/null)" | grep '^commit' &> /dev/null); then
if $(echo "$(git log HEAD..origin/$(
git_
current_branch) 2> /dev/null)" | grep '^commit' &> /dev/null); then
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_BEHIND"
fi
...
...
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