fix prompt
This commit is contained in:
parent
c6eec8b985
commit
53ea090710
1 changed files with 2 additions and 2 deletions
|
@ -133,10 +133,10 @@ function prompt_solarized_setup {
|
||||||
|
|
||||||
zstyle -b ':omz:module:prompt:solarized' dark '_prompt_dark'
|
zstyle -b ':omz:module:prompt:solarized' dark '_prompt_dark'
|
||||||
if is-true "${_prompt_dark}"; then
|
if is-true "${_prompt_dark}"; then
|
||||||
PROMPT="%(!.$prompt_red.$prompt_green)%n%f$prompt_base1 on $prompt_green%m%f$prompt_base1 in $prompt_base01%~%f"'${vcs_info_msg_0_}'"
|
PROMPT="%(!.$prompt_red.$prompt_green)%n%f$prompt_base1 at $prompt_green%m%f$prompt_base1 in $prompt_base01%~%f"'${vcs_info_msg_0_}'"
|
||||||
"'$(virtualenv_info)'"$prompt_base1 %# $prompt_base0"
|
"'$(virtualenv_info)'"$prompt_base1 %# $prompt_base0"
|
||||||
else
|
else
|
||||||
PROMPT="%(!.$prompt_red.$prompt_green)%n%f$prompt_base01 on $prompt_green%m%f$prompt_base01 in $prompt_base1%~%f"'${vcs_info_msg_0_}'"
|
PROMPT="%(!.$prompt_red.$prompt_green)%n%f$prompt_base01 at $prompt_green%m%f$prompt_base01 in $prompt_base1%~%f"'${vcs_info_msg_0_}'"
|
||||||
"'$(virtualenv_info)'"$prompt_base01 %# $prompt_base00"
|
"'$(virtualenv_info)'"$prompt_base01 %# $prompt_base00"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue