Add plugin on vim
git submodule add http://github.com/tpope/vim-fugitive.git vim/.vim/bundle/fugitive git add . git commit -m "Install Fugitive.vim bundle as a submodule."
Update plugins
git submodule init git submodule sync git submodule update
git submodule foreach git pull origin master
- Remove it from .gitmodules
- Remove it from .git/config
- Run git rm --cached
git submodule foreach git pull origin master
Install zsh using package manager
pacman -S zsh
Install oh-my-zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Remove .zshrc file generated by oh my zsh
rm .zshrc
Link files
cd ~/dotfiles
stow zsh
https://github.com/sstephenson/rbenv
It needs to add rbenv to the path. Already done in zshrc.
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build