cd ~
git clone [email protected]:bsimpson/.vim.git
Install ViM extensions:
cd ~/.vim
git submodule init
git submodule update
git submodule add git://path/to/repo bundle/name_of_project
this creates an entry in .gitmodules
git submodule init
check that this is in .git/config
git submodule update
this updates the module
Pathogen will load projects under bundle automatically via .vimrc call Pathogen#infect()
Commit submodule so this will be available in the remote repo
ln -s .vim/.{vimrc,rdebugrc,irbrc,gemrc,bashrc,gitconfig} ~
ln -s .vim/.vimrc ~
Apple doesn't read the ~/.bashrc. It reads the following:
/etc/profile~/.bash_profile~/.bash_login~/.profile
My solution was to create a symlink to ~/.profile:
ln -s ~/.bashrc ~/.profile
Install git via brew, or other means. Locate the directory in the git installation.
e.g.: /usr/local/opt/git/etc/bash_completion.d/
Change this line to match your path in the ~/.bashrc file. You should see the branch name show in your PS1
prompt when you are in directories that have a git repository initialized.
This ~/.bashrc profile already comes with rbenv integration (towards the bottom when we call rbenv init -). Just install rbenv, then use rbenv to install your Ruby version(s)
- Download and install brew
brew install rbenvrbenv list rubiesrbenv install xxxrbenv global xxx