Set unused prompts to an empty string

This commit is contained in:
Sorin Ionescu 2012-09-10 13:23:34 -04:00
parent 1ff2b5ee8d
commit e91bd95ffb
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ function prompt_minimal_setup {
# Define prompts. # Define prompts.
PROMPT='%2~${vcs_info_msg_0_} » ' PROMPT='%2~${vcs_info_msg_0_} » '
RPROMPT=''
} }
prompt_minimal_setup "$@" prompt_minimal_setup "$@"

View file

@ -88,6 +88,7 @@ function prompt_steeef_setup {
PROMPT=" PROMPT="
${_prompt_steeef_colors[3]}%n%f at ${_prompt_steeef_colors[2]}%m%f in ${_prompt_steeef_colors[5]}%~%f "'${vcs_info_msg_0_}'" ${_prompt_steeef_colors[3]}%n%f at ${_prompt_steeef_colors[2]}%m%f in ${_prompt_steeef_colors[5]}%~%f "'${vcs_info_msg_0_}'"
"'$python_info[virtualenv]'"$ " "'$python_info[virtualenv]'"$ "
RPROMPT=''
} }
prompt_steeef_setup "$@" prompt_steeef_setup "$@"