Set unused prompts to an empty string
This commit is contained in:
parent
1ff2b5ee8d
commit
e91bd95ffb
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ function prompt_minimal_setup {
|
|||
|
||||
# Define prompts.
|
||||
PROMPT='%2~${vcs_info_msg_0_} » '
|
||||
RPROMPT=''
|
||||
}
|
||||
|
||||
prompt_minimal_setup "$@"
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue