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

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.
PROMPT='%2~${vcs_info_msg_0_} » '
RPROMPT=''
}
prompt_minimal_setup "$@"

View File

@ -88,6 +88,7 @@ function prompt_steeef_setup {
PROMPT="
${_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]'"$ "
RPROMPT=''
}
prompt_steeef_setup "$@"