Set unused prompts to an empty string
This commit is contained in:
parent
1ff2b5ee8d
commit
e91bd95ffb
@ -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 "$@"
|
||||||
|
@ -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 "$@"
|
||||||
|
Reference in New Issue
Block a user