How can I quickly add a "new line(\n)" at the end of the default theme's prompt? #1897
Answered
by
JanDeDobbeleer
denik1981
asked this question in
Troubleshoot
|
I have started with OhMyPosh just yesterday. Sorry about being lazy on the docs. I just want to override the default theme by only adding a new line at the end of the prompt starting at the second line leaving me more room to type without the need of hitting BTW, I'm in Linux using zsh |
Answered by
JanDeDobbeleer
Mar 10, 2022
Replies: 3 comments 3 replies
|
You can simply add a |
1 reply
Answer selected by
denik1981
|
Here's an example (toml) snippet for those googling this in the feature. (Arrow optional ofc) [[blocks.segments]]
type = "text"
style = "plain"
template = "\n ↳" |
2 replies
|
to force just a newline you have to use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




You can simply add a
\nto the last segment or create a new text segment with just that content if the template.