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
983c0c94
Commit
983c0c94
authored
Feb 22, 2015
by
Robby Russell
Browse files
Merge pull request #3615 from mopsfelder/hgprompt
plugins: mercurial: Update the order prompt vars are displayed
parents
49a3dd13
0a99ca0d
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/mercurial/mercurial.plugin.zsh
View file @
983c0c94
...
...
@@ -35,7 +35,7 @@ function hg_prompt_info {
if
[
$(
in_hg
)
]
;
then
_DISPLAY
=
$(
hg_get_branch_name
)
echo
"
$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_HG_PROMPT_PREFIX
\
$ZSH_THEME_REPO_NAME_COLOR$_DISPLAY$ZSH_PROMPT_BASE_COLOR$ZSH_
THEME_HG_PROMPT_SUFFIX$ZSH_
PROMPT_BASE_COLOR
$(
hg_dirty
)
$ZSH_PROMPT_BASE_COLOR
"
$ZSH_THEME_REPO_NAME_COLOR$_DISPLAY$ZSH_PROMPT_BASE_COLOR$ZSH_PROMPT_BASE_COLOR
$(
hg_dirty
)
$ZSH_
THEME_HG_PROMPT_SUFFIX$ZSH_
PROMPT_BASE_COLOR
"
unset
_DISPLAY
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