toranb / osx-workstation

bash script that turns a vanilla macbook pro into a complete python/node/ruby developer machine
MIT License
13 stars 7 forks source link

Setup dotfiles? #5

Open mattjmorrison opened 10 years ago

mattjmorrison commented 10 years ago

I'm not sure if this is a good fit for this repo not, but what would you think about integrating this repo and setting up imt_dotfiles?

Maybe we should keep it separate...

This is essentially what I did to get my machine up and running:

https://gist.github.com/mattjmorrison/7782910#file-setup-sh

Maybe that gist is all we need to tie them together instead of adding a hard tie in this repo.

I guess, technically, you can now do this:

curl https://gist.github.com/mattjmorrison/7782910/raw/34ea6ea707b202d156df00ebb4fed6b4ed530712/setup.sh | bash

Which will just download and run the gist, which will run the osx-workstation setup as well as the imt_dotfiles mac symlink.

toranb commented 10 years ago

Good question- I have the git clone part of your gist in the repo so it's in your home directory after the script is done. I don't think it would hurt to do the bash symlink .... might as well add it (then in the README we could just add something like -when you first open vim do a "BundleInstall" ) -sound good?

mattjmorrison commented 10 years ago

Oh nice, I didn't even realize that was already in there. At the very tail end of it all we could do this:

vim -c "BundleInstall"

That will open vim and run a bundle install. There may be a way to do that in the background without opening vim, or automatically close vim when it is done, but I'm not sure how.

toranb commented 10 years ago

oh nice -what if we just did vim -c "BundleInstall" &