Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
This commit is contained in:
@@ -27,6 +27,11 @@ function prompt_steeef_simplified_precmd {
|
||||
if (( $+functions[python-info] )); then
|
||||
python-info
|
||||
fi
|
||||
|
||||
# Get ruby information
|
||||
if (( $+functions[ruby-info] )); then
|
||||
ruby-info
|
||||
fi
|
||||
}
|
||||
|
||||
function prompt_steeef_simplified_setup {
|
||||
@@ -85,8 +90,8 @@ function prompt_steeef_simplified_setup {
|
||||
zstyle ':prezto:module:python:info:virtualenv' format '(%v)'
|
||||
|
||||
# Define prompts.
|
||||
PROMPT="${_prompt_steeef_simplified_colors[3]}%n%f@${_prompt_steeef_simplified_colors[2]}%m%f ${_prompt_steeef_simplified_colors[5]}%~%f "'${vcs_info_msg_0_}'" "
|
||||
RPROMPT=''
|
||||
PROMPT="${_prompt_steeef_simplified_colors[3]}%n%f@${_prompt_steeef_simplified_colors[2]}%m%f ${_prompt_steeef_simplified_colors[5]}%~%f "'${vcs_info_msg_0_}'"$ "
|
||||
RPROMPT='%F{blue}${ruby_info[version]}'
|
||||
}
|
||||
|
||||
prompt_steeef_simplified_setup "$@"
|
||||
|
||||
Reference in New Issue
Block a user