-
After zinit repo has been deleted I had switch to fish from zsh and set it as default shell on macOS 12.0.1, but when I run I use emacs to write Golang program, and run Golang's I also install exec-path-from-shell but I have to set I also test this on emacsmacport and it can get correct |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Hey @404CN, Environment variables is always a burden on macos and is a constant topic of confusion and troubles. Issue tracker of Emacs+, Spacemacs and Doom Emacs are full of issues caused by invalid environment. I am not sure how it works in Emacs Mac Port, but they have so many patches for MacOS that it's not GNU Emacs anymore. I have few questions though:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply.
echo /usr/local/bin/fish | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish |
Beta Was this translation helpful? Give feedback.
-
And for me this is not an urgent problem, but I just want emacs to be used intuitively. |
Beta Was this translation helpful? Give feedback.
-
@404CN 🤔 It's strange. Cause even without any configurations (e.g. when I wipe out my Just a random though. What do you see if you open System Preferences > Users & Groups > /unlock more features via clicking the lock icon in the left bottom corner/ > /right click on your user/ > Advanced options? What is your login shell there? |
Beta Was this translation helpful? Give feedback.
-
Yes it's |
Beta Was this translation helpful? Give feedback.
-
Right. After changing your login shell you need to restart or log-out and log-in 😂 Does it work now? |
Beta Was this translation helpful? Give feedback.
@d12frosted
Yes it's
/use/local/bin/fish
and It works after I reboot my system.