Open ohmree opened 5 years ago
I just hit this exact issue too. It's been a year, any sign of a more permanent fix?
Man this is old.
Nowadays I don't use MSYS2 but I do still use Fish with bax instead of bass (it's written in pure Fish which is a bonus).
Here's how it works, seems pretty simple to integrate into MSYS2. It's possible to inline the function into /etc/fish/msys2.fish
if that's the only place this functionality is required, or otherwise perhaps have it available somewhere in /etc/fish
.
I'm not going to do this since I don't use MSYS2 anymore but it seems like a pretty low-hanging fruit, assuming there's no problem with the approach I suggested.
In
/etc/fish/msys2.fish
, on line 45 executingsh '/etc/msystem'
only sets the environment for the childsh
.The solution I came up with is installing bass and replacing the sh line with:
With stock
msys2.fish
:With my change: