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
20.95k stars 358 forks source link

Support oh-my-fish prompt #3796

Open iMonZ opened 11 months ago

iMonZ commented 11 months ago

Discord username (optional)

igoldgamer

Describe the bug

The Fish shell has many problems inside warp

  1. I get every time when I start this shell this message: funcsave: wrote /Users/mvg/.config/fish/functions/python.fish
  2. When I'm in a git repo, the fish shell should tell me the branch and the current status with Ligatures. But I get this instead: ~/Downloads/bewell-be git:(develop) But inside the iTerm 2 and Terminal shell everything works as expected.

Using oh-my-fish and the bobthefish theme

To reproduce

Using the fish shell as default. Implementing the Warp integration

Expected behavior

No response

Screenshots

How it looks in Warp:

Screenshot 2023-10-21 at 22 45 58

How it should look like (iTerm 2):

Screenshot 2023-10-21 at 22 46 25

Operating system

macOS

Operating system and version

14.1

Shell Version

fish, version 3.6.1

Current Warp version

v0.2023.10.17.08.03.stable_01

Regression

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

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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:b8107fdf-ba31-488d-b103-d271c89cac3e

None

iMonZ commented 11 months ago

Btw. I use the JetBrainsMono Nerd Font which actually supports for Ligatures

dannyneira commented 11 months ago

Hey @iMonZ, what you're seeing right now is the default prompt that comes with Warp. In order to enable the custom prompt (PS1), like the one you're seeing in iterm, you need to right-click on the prompt and click Edit Prompt, then select the "Shell prompt PS1". Please see more in our prompt docs. https://docs.warp.dev/features/prompt#how-to-access-it as well as my demo below.

https://github.com/warpdotdev/Warp/assets/16809145/e036c110-45a1-4226-af63-9c10580a145f

Hope this helps, please let us know if you continue to have any issues or close if all is good.

iMonZ commented 11 months ago

Hey @iMonZ, what you're seeing right now is the default prompt that comes with Warp. In order to enable the custom prompt (PS1), like the one you're seeing in iterm, you need to right-click on the prompt and click Edit Prompt, then select the "Shell prompt PS1". Please see more in our prompt docs. https://docs.warp.dev/features/prompt#how-to-access-it as well as my demo below.

CleanShot.2023-10-23.at.11.41.26.mp4

Hope this helps, please let us know if you continue to have any issues or close if all is good.

Perfect! Thanks that worked for me

iMonZ commented 11 months ago

Hey @iMonZ, what you're seeing right now is the default prompt that comes with Warp. In order to enable the custom prompt (PS1), like the one you're seeing in iterm, you need to right-click on the prompt and click Edit Prompt, then select the "Shell prompt PS1". Please see more in our prompt docs. https://docs.warp.dev/features/prompt#how-to-access-it as well as my demo below.

CleanShot.2023-10-23.at.11.41.26.mp4

Hope this helps, please let us know if you continue to have any issues or close if all is good.

Oh wait but the: Funcsave message is still coming up

dannyneira commented 7 months ago

Heard @iMonZ, we'll have to change this to a feature request to support the oh-my-fish prompt in Warp. It may be working unofficially in some cases, but we've not sorted out the bugs like this one yet.

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.