Set RETVAL for left prompt also.
parent
4e2b1137d4
commit
2eea3aec56
|
@ -589,6 +589,8 @@ prompt_virtualenv() {
|
|||
|
||||
# Main prompt
|
||||
build_left_prompt() {
|
||||
RETVAL=$?
|
||||
|
||||
if [[ "${#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS}" == 0 ]]; then
|
||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue