From d4275c1312ce4bb522b96259f5a78b9df51f99b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Sun, 23 Jun 2013 23:44:23 +0200 Subject: [PATCH] Run the old PROMPT_COMMAND with eval Because it may contain multiple commands separated with ';'. See #196. --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index d04ef49..5a4eaa1 100755 --- a/liquidprompt +++ b/liquidprompt @@ -1600,7 +1600,7 @@ _lp_set_prompt() " # space, tab, LF # execute the old prompt - $LP_OLD_PROMPT_COMMAND + eval "$LP_OLD_PROMPT_COMMAND" # left of main prompt: space at right LP_JOBS="$(_lp_sr "$(_lp_jobcount_color)")"