From e91bd95ffbd583ea2b4aaca6cb2d9b970252e2db Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Mon, 10 Sep 2012 13:23:34 -0400 Subject: [PATCH] Set unused prompts to an empty string --- modules/prompt/functions/prompt_minimal_setup | 1 + modules/prompt/functions/prompt_steeef_setup | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/prompt/functions/prompt_minimal_setup b/modules/prompt/functions/prompt_minimal_setup index 1d3e291..a86c04e 100644 --- a/modules/prompt/functions/prompt_minimal_setup +++ b/modules/prompt/functions/prompt_minimal_setup @@ -44,6 +44,7 @@ function prompt_minimal_setup { # Define prompts. PROMPT='%2~${vcs_info_msg_0_} ยป ' + RPROMPT='' } prompt_minimal_setup "$@" diff --git a/modules/prompt/functions/prompt_steeef_setup b/modules/prompt/functions/prompt_steeef_setup index 08cae7e..9b07326 100644 --- a/modules/prompt/functions/prompt_steeef_setup +++ b/modules/prompt/functions/prompt_steeef_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 "$@"