Skip to content

Prompt on a new line? #819

Answered by Rycieos
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

This likely won't be the conclusive answer you were hoping for. That is because we are in the process of reworking the Powerline themes, breaking them out into their own repo: https://github.com/liquidprompt/liquidprompt-powerline. Once that is done, the version of the themes embedded in this repo will be deprecated.

So, the answers for the themes in this repo are:

  • For the powerline theme: no, there is no supported way to do that currently.
  • For the powerline_full theme, you can set LP_PS1_POSTFIX="$NO_COL"$'\n'.
  • For both, you can override the __powerline_end_terminator() function to add a "$NO_COL"$'\n' like so, which will look slightly better than the above option:
 __powerline_end_ter…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rycieos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant