warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.07k stars 360 forks source link

PS1 Shell Prompt not displaying correctly #4425

Open playbahn opened 7 months ago

playbahn commented 7 months ago

Discord username (optional)

No response

Describe the bug

First 4 letters of PS1 Shell Prompt not displaying.

To reproduce

Prompt selection step of Setup Guide

Expected behavior

The full PS1 Shell Prompt

Screenshots

No response

Operating system

Linux

Operating system and version

Arch Linux 6.6.8-arch1-1

Shell Version

bash 5.2.21

Current Warp version

v0.2024.02.27.08.01.stable_03-1-x86_64

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

X11

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 7 months ago

Hey @playbahn Thanks for letting us know. May you please share your $PS1 with us so that we can try and reproduce the issue?

Also please see our prompt docs for several troubleshooting steps and a list of all the prompts we support (I personally use starship.rs prompt as it's cross-platform, highly customizable, and super fast! https://docs.warp.dev/appearance/prompt )

playbahn commented 6 months ago

PS1='\e[92m[\u@\h\e[m \e[93m\W]\e[m\n\$ '