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:
Yan Pritzker
2013-08-04 16:28:07 -05:00
parent a729ef2a85
commit 8004dd2025
3 changed files with 10 additions and 6 deletions

View File

@@ -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 "$@"