Closed richburdon closed 1 year ago
TLDR; Avit is a theme that we've had trouble with. We have a Prompt compatibility table on our docs. Link to the documentation for enabling custom prompt / honoring PS1: https://docs.warp.dev/features/prompt
I recommend starship! (elvis)
Also, have you heard about Context Chips? It's how we're thinking of improving the prompt by supporting dynamic refreshing, mouse supported interactivity, and extended customizability.
We hosted a Twitter space and created a Twitter thread, where we also shared mocks, if you're interested in learning more.
TLDR; Avit is a theme that we've had trouble with. We have a Prompt compatibility table on our docs. Link to the documentation for enabling custom prompt / honoring PS1: https://docs.warp.dev/features/prompt I recommend starship! (elvis) Also, have you heard about Context Chips? It's how we're thinking of improving the prompt by supporting dynamic refreshing, mouse supported interactivity, and extended customizability. We hosted a Twitter space and created a Twitter thread, where we also shared mocks, if you're interested in learning more.
The link is no longer working. Is there any plan to support other custom prompts?
Can you try it again? We have a table in the docs with the list that are currently supported. https://docs.warp.dev/features/prompt
I would like to add a bit more here, as I am seeing similar issues with my custom theme for oh-my-zsh. Multi-line PROPMT show up in a single line, and RPROMPT is not displayed until after the command has been run.
Warp and iTerm
RPROMPT after running command
We don't support multi-line prompts yet (not sure whether this would be on the roadmap). The Input Editor is a completely separate UI element from the terminal grid, this is what enables support for a modern text editing experience.
From @japanese-goblinn via #1523
japanese_goblinn#2202
I'd like to have better support for custom prompts
It'll be nice to have support of multi line prompts. I use pure prompt because it has some nice features like showing is there anything in stash or do i have something to push to remote etc. For now, none of this features exist in Warp and respecting of PS1
also do not work.
This how this prompt looks in iTerm
This is how it looks in Warp
No response
From @sgiddings-kunzleigh via #1523
I agree. Neither my oh-my-posh
prompt or my Starship
prompt render correctly in Warp. It is easily my biggest complaint. Starship renders well, except for the second line of the prompt is forced on to the single line. And with the nerdfont elements on my oh my posh prompt, the endings are all discolored.
I switched from Starship
to oh-my-posh
and find rendering issues. Multiline already mentioned. oh-my-posh
doesn't see exits with code >= 1
.
iTerm reports the error code and oh-my-posh
sees 'em and renders the error meaning or the error code.
I prefer Starship
and oh-my-posh
over Warp's chips, since Warp isn't portable, while Startship
and oh-my-posh
are very portable. My Linux shells look the same on macOS and Windows.
Chips could be Warp native if Warp becomes portable too.
As some guy before me has some problem with pure, someone has any update about this?
@shifenis Please see more on our supported prompts here: https://docs.warp.dev/features/prompt#custom-prompt-compatibility-table, unfortunately Pure isn't official one of them, it may work if you disable multi-line and right-side prompts but no guarantee.
@warpdotdev-dx @dannyneira can you also add oh-my-posh to the supported custom prompts? Everything works AND we now also have multiline support as of 12.26.1 unlike every other prompt tool out there. Someone has to push the bar, right?
Same for rprompt in zsh btw, other shells already worked.
Changing to a feature request for supporting multi-line prompts.
Please add a :+1: to the original post at the top to signal that you want this feature, and then hit the subscribe button if you'd like to be notified.
TLDR; Avit is a theme that we've had trouble with. We have a Prompt compatibility table on our docs. Link to the documentation for enabling custom prompt / honoring PS1: https://docs.warp.dev/features/prompt I recommend starship! (elvis) Also, have you heard about Context Chips? It's how we're thinking of improving the prompt by supporting dynamic refreshing, mouse supported interactivity, and extended customizability. We hosted a Twitter space and created a Twitter thread, where we also shared mocks, if you're interested in learning more.
I like the Chips idea, but it would be nice to have multiline in the interim while we are waiting for that functionality. The chips have their own problem though, you can not put them on other systems. I install starship on everything, I also use other terminals. So no chips there. If warp decided to offer and ipad shell similar to blink, then I would say chips all the way. This is by no means a deal breaker, just really annoying. All my terminals look great on all my other softwares, then ..... I come to warp... lol
Looks like this is fixed now.
Yep, this was fixed as part of supporing powerlevel10k (#2851)!
Woohoo! This feature is now live in the latest version of Warp. Closing as resolved, but please let us know if any issues with multi-line prompt support.
Discord username (optional)
No response
Describe the bug
To Reproduce
Steps to reproduce:
Expected behaviour
No response
Screenshots
Warp next to iTerm
Operating System
MacOS
OS Version
No response
Additional context
No response