Open danulqua opened 11 months ago
Hey @danulqua thanks for submitting this detailed bug report! So sorry about this blocker. I tried but wasn't able to reproduce this issue, but I have a few things you can try to fix.
Confirm your starship prompt is on the latest starship --version
(1.15.0), it no the latest brew update starship
and try again.
run echo $SHELL
and put the result into your Warp > Settings > Features > Sessions > Startup shell for new sessions > Custom
(my example below) to see if that helps!
If none of the above works, As a possible stopgap measure, you can try using the default fish prompt and it should work.
Please provide a redacted copy of the logs. https://docs.warp.dev/help/sending-us-feedback#exporting-logs-from-terminal
@dannyneira I've updated my starship
to version 1.15.0 and written a path to custom shell - nothing helped, my starship
prompt is still invisible.
Of course I can use default prompt, that's what I do, but obviously it's a problem since starship
should work and it always was my main prompt.
Here is the logs file: warp.log
Thanks for this, I'll let the team know. It's a bit challenging to reproduce on my end so for the time I recommend you try and comment out lines in your configs (fish and starship) to see if one is the culprit. I'd also try adding the following to your starship file to see if that helps. Thanks for your patience and working with us to try and debug.
[fill]
disabled = true
[line_break]
disabled = true
@dannyneira thanks for suggesting me to play both with starship
and fish
configs.
Adding these lines in starship.toml
didn't help.
But I ended up commenting whole config.fish
file, and it looks like that even the default fish prompt is invisible.
I changed my shell from fish
to zsh
in Warp settings (it has starship
too), and it works fine.
Seems like it's a problem between fish
and Warp.
Thanks for confirming and your patience, yeah we should support fish afaik your in the latest version so I'll let the team know and we'll post any further updates or questions on this thread.
Same problem here. But the issue is not with Starship
neither with Fish
itself.
I managed to get it working by renaming the 00_fig_pre.fish
and 99_fig_post.fish
files inside ~/.config/fish/conf.d/
directory. I only added an .old
suffix to them.
So in my case the problem was with Fig
, that is listed as an incompatible tool on Warp
documentation.
Same problem here. But the issue is not with
Starship
neither withFish
itself.I managed to get it working by renaming the
00_fig_pre.fish
and99_fig_post.fish
files inside~/.config/fish/conf.d/
directory. I only added an.old
suffix to them.So in my case the problem was with
Fig
, that is listed as an incompatible tool onWarp
documentation.
fixed by executing this command (cw same as fig)
cw integrations uninstall all
consider uninstall only integrations, that affect warp shell prompt.
I had the same problem, did a
brew remove fig
and now everything works again 👍
@tembra I was in the exactly same situation. Thank you so much for the hint!
Facing the same issue but I don't even use fig.
Also checked incompatible tool docs on warp and cofigured starship they way they said. I also removed fzf plugin for fish. I still face the same problem.
Discord username (optional)
danulqua
Describe the bug
I use
Starship
prompt withFish
shell, and I noticed that my prompt is totally invisible. It becomes visible if I enter new subshells usingfish
orzsh
commands, and as soon as I exit from them to my main shell, it keeps being invisible.Demo:
https://github.com/warpdotdev/Warp/assets/38916225/f7272d06-86c2-4fdc-ad7e-c95a72be3541
This problem exists in
Warp
terminal only. In any other terminal everything works fine. MyStarship
andFish
configurations are in the "Additional context" section.To reproduce
Starship
andFish
)Warp
settings and turnHonor user's custom prompt (PS1)
on, or right-click the prompt and selectUse my own prompt
fish
commandexit
to exit the subshellExpected behavior
Starship
prompt obviously should be visible all the time.Screenshots
Operating system
MacOS
Operating system and version
macOS Ventura 13.4.1
Shell Version
fish 3.6.1
Current Warp version
v0.2023.07.04.08.03.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
My
starship.toml
:My
fish.config
: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