mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
Incorporating @dritter's feedback from #524.
This commit is contained in:
@@ -1352,7 +1352,7 @@ powerlevel9k_prepare_prompts() {
|
||||
|
||||
if [[ "$POWERLEVEL9K_PROMPT_ON_NEWLINE" == true ]]; then
|
||||
PROMPT='$(print_icon 'MULTILINE_FIRST_PROMPT_PREFIX')%f%b%k$(build_left_prompt)
|
||||
$(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')'
|
||||
$(print_icon 'MULTILINE_LAST_PROMPT_PREFIX')'
|
||||
if [[ "$POWERLEVEL9K_RPROMPT_ON_NEWLINE" != true ]]; then
|
||||
# The right prompt should be on the same line as the first line of the left
|
||||
# prompt. To do so, there is just a quite ugly workaround: Before zsh draws
|
||||
|
||||
Reference in New Issue
Block a user