mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 10:10:07 +00:00
Adding a \n before prompt
This commit is contained in:
parent
c2cbb32017
commit
177474a489
1 changed files with 1 additions and 1 deletions
|
@ -1267,7 +1267,7 @@ powerlevel9k_prepare_prompts() {
|
||||||
_P9K_TIMER_START=99999999999
|
_P9K_TIMER_START=99999999999
|
||||||
|
|
||||||
if [[ "$POWERLEVEL9K_PROMPT_ON_NEWLINE" == true ]]; then
|
if [[ "$POWERLEVEL9K_PROMPT_ON_NEWLINE" == true ]]; then
|
||||||
PROMPT="$(print_icon 'MULTILINE_FIRST_PROMPT_PREFIX')%f%b%k$(build_left_prompt)
|
PROMPT="\n$(print_icon 'MULTILINE_FIRST_PROMPT_PREFIX')%f%b%k$(build_left_prompt)
|
||||||
$(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')"
|
$(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')"
|
||||||
if [[ "$POWERLEVEL9K_RPROMPT_ON_NEWLINE" != true ]]; then
|
if [[ "$POWERLEVEL9K_RPROMPT_ON_NEWLINE" != true ]]; then
|
||||||
# The right prompt should be on the same line as the first line of the left
|
# The right prompt should be on the same line as the first line of the left
|
||||||
|
|
Loading…
Reference in a new issue