-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commit e711caa breaks fish prompt on WSL in git repositories #360
Comments
@millimoose any ideas? |
@bobthecow my first guess is there is no Git installed under Windows and for some reason it couldn't find one under WSL either I'll take a look at this soon @Kintar do you have Git installed under WSL? |
@millimoose : I have Git installed both under Windows and WSL. From a powershell terminal:
|
@millimoose For what it's worth, I've verified that simply commenting out the line introduced in fish_prompt.fish for this commit -- |
@Kintar oh I trust that it does, it's just baffling that the Trying Windows Git is meant to be a fallback for when WSL Git can't be found Anyway I have something to go off of, worst case I suppose this can be hidden behind some sort of feature flag. |
I think what's happening here isn't git specific, I think it's just an improper invocation of
Tested on a fresh install of Ubuntu-WSL with Fish, omf, and bobthefish (slightly edited for readibility):
Feeding the path directly to
this is a super long-winded way to say I think we just need to add PR: #361 |
@BlakeBLuther Oh I think I know what happened then, I'm guessing I was using a different implementation of |
@millimoose does |
For me, This is using Debian on WSL. |
Okay, I've removed it in 83bf89d. Let's try to figure out a fix that works for everyone? |
Commit e711caa breaks the fish prompt when in a git repository. Rather than displaying the appropriate prompt, a message "wslpath: " appears.
The text was updated successfully, but these errors were encountered: