The following directory no longer exists on my MacBook Pro after I uninstalled Visual Studio Community Edition for Mac. I can copy and paste it from the $PATH though here:
/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin
It's still in the $PATH but I can't tell where it is being set
~ $ grep -n SharedSupport ${HOME}/.bash_profile
~ $ grep -n SharedSupport ${HOME}/.bashrc
~ $ grep -n SharedSupport ${HOME}/.profile
~ $ grep -n SharedSupport ${HOME}/.zshrc
~ $ grep -n SharedSupport ${HOME}/.zprofile
~ $ grep -n SharedSupport ${HOME}/.zlogin
Any ideas how to remove it from the $PATH? I uninstalled it so naturally the terminal can't find the folder. Now I can't find where it's being exported to PATH so I can remove it.
Just figured it out! Turns out it stores its paths in a file in /etc/paths.d
called Xamarian, like Jonathan Leffler commented. So in order to delete it, we'll need to:
Open a terminal, this can be iTerm
, Terminal
, etc.
CD Into the Directory
cd /etc/paths.d
rm -rf xamarian
That's it!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With