1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00

Update prompt_sorin_setup

Addressing a type - and switching from a custom orange to yellow (from default color list) for prompt.
This commit is contained in:
Jeef 2017-08-07 19:03:02 -04:00 committed by Indrajit Raychaudhuri
parent 4c272a20f6
commit cab4ac54ec

View File

@ -131,7 +131,7 @@ function prompt_sorin_setup {
# Set python-info format # Set python-info format
zstyle ':prezto:module:python:info:virtualenv' format '%f%F{208}(%v)%F{7} ' zstyle ':prezto:module:python:info:virtualenv' format '%f%F{3}(%v)%F{7} '
# Get the async worker set up # Get the async worker set up
async_start_worker async_sorin_git -n async_start_worker async_sorin_git -n
@ -143,7 +143,7 @@ function prompt_sorin_setup {
# Define prompts. # Define prompts.
PROMPT='${SSH_TTY:+"%F{9}%n%f%F{7}@%f%F{3}%m%f "}%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} ' PROMPT='${SSH_TTY:+"%F{9}%n%f%F{7}@%f%F{3}%m%f "}%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} '
RPROMPT='$python_info[virtualenv]${editor_info[overwrite]}%(?:: %F{1}⏎%f)${VIM:+" %B%F{6}V%f%b"}${_prompt_devel_git}' RPROMPT='$python_info[virtualenv]${editor_info[overwrite]}%(?:: %F{1}⏎%f)${VIM:+" %B%F{6}V%f%b"}${_prompt_sorin_git}'
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? ' SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
} }