Run the old PROMPT_COMMAND with eval
Because it may contain multiple commands separated with ';'. See #196.
This commit is contained in:
parent
9adfd973d0
commit
d4275c1312
@ -1600,7 +1600,7 @@ _lp_set_prompt()
|
|||||||
" # space, tab, LF
|
" # space, tab, LF
|
||||||
|
|
||||||
# execute the old prompt
|
# execute the old prompt
|
||||||
$LP_OLD_PROMPT_COMMAND
|
eval "$LP_OLD_PROMPT_COMMAND"
|
||||||
|
|
||||||
# left of main prompt: space at right
|
# left of main prompt: space at right
|
||||||
LP_JOBS="$(_lp_sr "$(_lp_jobcount_color)")"
|
LP_JOBS="$(_lp_sr "$(_lp_jobcount_color)")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user