mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Added possibility to disable the RPROMPT completly.
This commit is contained in:
parent
925e6752f7
commit
e8dc33bb07
1 changed files with 4 additions and 1 deletions
|
|
@ -644,7 +644,10 @@ $POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX"
|
||||||
RPROMPT_PREFIX=''
|
RPROMPT_PREFIX=''
|
||||||
RPROMPT_SUFFIX=''
|
RPROMPT_SUFFIX=''
|
||||||
fi
|
fi
|
||||||
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
|
|
||||||
|
if [[ "$POWERLEVEL9K_DISABLE_RPROMPT" != true ]]; then
|
||||||
|
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue