Run the old PROMPT_COMMAND with eval

Because it may contain multiple commands separated with ';'.
See #196.
This commit is contained in:
Olivier Mengué 2013-06-23 23:44:23 +02:00
parent 9adfd973d0
commit d4275c1312

View File

@ -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)")"