Open mieubrisse opened 1 year ago
Similar questions, warp's own PS1 does not have such a hint of time, could we customize the PS1 of warp or add a time hint?
Hey @warpdotdev-dx , any chance of movement on this? I'd love to try out Warp but this "echoing my prompt as the command" bug is preventing me from doing so
Hi @mieubrisse < Thanks for submitting, sorry to hear about this issue. So I'm not 100% about your prompt setup, but just in case, there are a number of known issues possibly affecting your prompt ( in particular with right-sided or multi-line prompts ) see: https://docs.warp.dev/features/prompt#known-incompatibilities
As a workaround, I recommend you try a modern prompt like starship or oh-my-posh ( which does support multi-line in Warp ) See: https://docs.warp.dev/features/prompt#custom-prompt-compatibility-table
Hey @dannyneira thanks for the response! Those definitely make sense on why they'd be difficult; my prompt isn't actually multiline or right-sided though - I'm just using vanilla PS1 with ANSI color codes.
Good point about the colors, i switched my shell to bash and tried this in my .bashrc file but wasn't able to render any prompt. I suggest trying without the colors possibly, or as I mentioned above a different prompt al together starship can do a lot of what you need and just works out of the box with multiple systems/shells.
Having the same issue on bash when trying to use on-my-posh
I also have the same issue with direnv
when loading an .enrc
, the output from direnv is filled into my command, where I have to manually remove it to enter any new commands
GNU bash, version 5.2.15 Warp v0.2023.02.07.08.03.stable_01
Seems related to this https://github.com/warpdotdev/Warp/issues/1142#issuecomment-1300337275
If Starship prompts output a message about timeouts, that output is considered part of the next command. I have to workaround selecting all and deleting before typing if one of the commands that generated the Starship prompt took too long. Very frustrating.
I have the same issue. My prompt is not multi-line nor does it have color in it.
I just added an issue and then searched the issues database for like minded problems. Should have done it in reverse.
I'm going to delete my duplicate issue and hope to hear a resolution here.
I closed my issue #2882 as a duplicate.
Discord username (optional)
No response
Describe the bug
I have a custom Bash prompt like so:
When I tell Warp to use my custom prompt command my prompt command shows up as expected (good), but it also fills the command-I'm-typing to be the contents of the prompt:
To Reproduce
Should be just add my prompt command to a
.bashrc
and try to use WarpExpected behaviour
My prompt command correctly generates the prompt, and I get a clean slate for writing my command every time
Screenshots
No response
Operating System
MacOS
OS Version
12.5
Shell Version
GNU bash, version 5.2.15(1)-release (aarch64-apple-darwin21.6.0)
Warp Version
v0.2023.01.10.08.02.stable_01
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
None