I keep getting this error:
bash: ~/.bash_profile: No such file or directory
Here is my bash_profile:
alias ngrok=/Users/mmahalw
In my case I was receiving the following error.
-bash: /Users/mac241/.rvm/scripts/rvm: No such file or directory
-bash: /Users/mac241/.rvm/scripts/rvm: No such file or directory
After few checks, I got to know when I created .bash_profile
file, below two commands already was prewritten on the file.
source /Users/mac241/.rvm/scripts/rvm
source /Users/mac241/.rvm/scripts/rvm
based on error, I got to know this are the problems and after I removed, It started working. Hope you are written and defined those commands only which you required to auto run up on shell start.