How can I quickly add a "new line(\n)" at the end of the default theme's prompt? #1897
-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can simply add a |
Beta Was this translation helpful? Give feedback.
-
Here's an example (toml) snippet for those googling this in the feature. (Arrow optional ofc) [[blocks.segments]]
type = "text"
style = "plain"
template = "\n ↳" |
Beta Was this translation helpful? Give feedback.
You can simply add a
\n
to the last segment or create a new text segment with just that content if the template.