mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Merge 2d64d2c352 into accdcb2f1c
This commit is contained in:
commit
fc3681a752
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ function hg_get_branch_name() {
|
|||
|
||||
function hg_prompt_info {
|
||||
if [ $(in_hg) ]; then
|
||||
_DISPLAY=$(hg_get_branch_name)
|
||||
_DISPLAY=%{$fg[cyan]%}'hg:('%{$fg[green]%}''$(hg_get_branch_name)%{$fg[cyan]%}')'%{$fg[white]%}' ⚡ '
|
||||
echo "$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_HG_PROMPT_PREFIX\
|
||||
$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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue