Every time I open a new Terminal window I see the following.
-bash: /Users/tim/.profile: No such file or directory
I have no idea why this is happening or where to look to fix it; my profile is located at /Users/tim/.bash_profile
not /Users/tim/.profile
Any thoughts on how to troubleshoot this?
View an installed configuration profile On your Mac, choose Apple menu > System Preferences, then click Profiles . If you haven't installed any configuration profiles, Profiles preferences isn't available. Select a profile in the Profiles list to view information about it.
This happened to me as well and I noticed that at the top of my .bash_profile
it had:
source ~/.profile
My understanding is that on MacOS / OS X .bash_profile
is given priority over .profile
so the latter file isn't required.
To fix therefore I simply removed source ~/.profile
from the top of the file.
Hope that helps.
Edit: original poster commented that he just created a blank .profile
to solve this as well.
I met the same issue today, i guess it's because i use the cleaning app and the app considered this file was a waste of space so deleted it. touch ~/.profile
helps me.
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