You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had this happen on two separate computers, and I believe I know the root cause of the issue. Running opam env in fish shell gives the following output:
It is that : at the beginning of the first argument that adds . to the environment. Running the command several times adds it as many times. Removing the colon gets rid of the problem (and removes already existing . from $PATH).
I think the colon is needed on POSIX shells (I'm not sure), while in fish it is not only unnecessary, but actively harmful. Having . in my $PATH led me on a merry bug chase for several days when trying to install Emacs from source.
The text was updated successfully, but these errors were encountered:
Oh my, I should have searched more thoroughly. That is indeed the same problem. I am on version 2.0.7 right now, I'll make sure to upgrade pronto. Thank you for the reply, I'm closing this (non-)issue.
I've had this happen on two separate computers, and I believe I know the root cause of the issue. Running
opam env
in fish shell gives the following output:It is that
:
at the beginning of the first argument that adds.
to the environment. Running the command several times adds it as many times. Removing the colon gets rid of the problem (and removes already existing.
from $PATH).I think the colon is needed on POSIX shells (I'm not sure), while in fish it is not only unnecessary, but actively harmful. Having
.
in my $PATH led me on a merry bug chase for several days when trying to install Emacs from source.The text was updated successfully, but these errors were encountered: