Before I dove into learning ruby my .vimrc file had this at the very end
cd data
It was perfect because the home directory is shared with my mac. I tried changing my home directory in OSX. This was a nightmare, and not what I was looking for.
I see tons of answers on how to change home directory. This unfortunately will make the change for more than just terminal/vim
I've been playing with
x = pwd
if (x == '/users/jack/)
cd data
The above is in my .vimrc file, it also doesn't work. Until now the only place vim would start is in the default location. Now that I've been installing ruby gems I've been receiving problems.
Is there an easy way for vim and terminal to open at /users/jack/data rather than /users/jack?
Any solutions that address my issue are win32 solutions. Changing my home folder on my mac is going to move things I don't want into my data folder.
Thank you.