mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
Merge pull request #77 from jkoelndorfer/left-prompt-retval
Set RETVAL for left prompt also.
This commit is contained in:
commit
1a1cb8fdd2
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue