A while ago I was messing around with my Mac settings in Terminal. Since then, I've had to use dos2unix
(http://dos2unix.sourceforge.net/) on many files just to be able to run them. This includes files that my team create and push to a shared repository, that I then pull down (for example, bash .sh
files).
My bash profile:
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
I removed the first line, and restarted my Mac. I still have the same issue.
I have no idea what settings I've changed on my Mac - would anybody know what it could be? I apologise for the vagueness of my issue, I changed the settings long ago!