Browse Source

Set unused prompts to an empty string

master
Sorin Ionescu 12 years ago
parent
commit
e91bd95ffb
  1. 1
      modules/prompt/functions/prompt_minimal_setup
  2. 1
      modules/prompt/functions/prompt_steeef_setup

1
modules/prompt/functions/prompt_minimal_setup

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

1
modules/prompt/functions/prompt_steeef_setup

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

Loading…
Cancel
Save