I have an alias set up in my .bash_profile file:
alias local='npm run start-local', and for whatever reason when I open a new terminal session it is trying to run that command
npm run start-local immediately. It works fine if I rename it to "local2". What could be causing this?
I got this alias from my coworker who uses it regularly, and the only difference I know of is that he is not on Mojave.
Edit: something interesting I noticed is that if I change it to
alias local='echo ' then I see
-bash: fork: Resource temporarily unavailable
Which adds evidence that it is running my local command when something is trying to use the local variable.