Question

For some reason after I installed Boot Camp, my os x terminal started to point to the Boot Camp drive instead of my os x home directory by default! Once in the terminal I know how to switch back an forth and am able to do that, but I was wondering how to make my terminal default back to my os x home folder?

I've checked my Home Directory under System Preferences->Accounts->Control-click on my account and it is pointing to the right place. I've also tried unmounting it with no luck.

Was it helpful?

Solution

You probably want these instructions for how to use the command line:

https://superuser.com/questions/154193/setting-a-users-home-directory-on-mac-os-x-server-from-the-command-line

Basically, use the dscl command line tool to see what the system thinks your home directory is set to, or to try and reset it....

OTHER TIPS

This is a bit of under-the-hood fiddling, but you could simply enter

cd <directory>

in /Users/<yourUserName>/.profile

and startup a new terminal. You should then be in the directory you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top