From 9051f3fb700a0bb2f790e3931110d042ac3884fa Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 16 Aug 2012 20:18:29 +0200 Subject: [PATCH] rename _lp_set_bash_prompt as _lp_set_prompt --- liquidprompt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/liquidprompt b/liquidprompt index fb66f4f..e886269 100755 --- a/liquidprompt +++ b/liquidprompt @@ -937,7 +937,7 @@ _lp_sb() # Construct the prompt # ######################## -_lp_set_bash_prompt() +_lp_set_prompt() { # as this get the last returned code, it should be called first LP_ERR="${LP_COLOR_ERR}$(_lp_sl $(_lp_return_value $?))${NO_COL}" @@ -1015,10 +1015,10 @@ prompt_on() fi fi if [[ "$_LP_WORKING_SHELL" == "bash" ]]; then - PROMPT_COMMAND=_lp_set_bash_prompt + PROMPT_COMMAND=_lp_set_prompt elif [[ "$_LP_WORKING_SHELL" == "zsh" ]]; then function precmd { - _lp_set_bash_prompt + _lp_set_prompt } fi