git clone [email protected]:sshkarupa/dotfiles.git ~/.dotfiles && cd ~/.dotfiles
git submodules init
git submodules update
mkdir -p ~/.git_template/hooks
ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig
ln -s ~/.dotfiles/git/pre-commit ~/.git_template/hooks/
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
mkdir -p ~/.vim/{autoload,spell}
ln -s ~/.dotfiles/vim/vimrc ~/.vimrc
ln -s ~/.dotfiles/vim/vim-plug/plug.vim ~/.vim/autoload/
ln -s ~/.dotfiles/vim/plugins.vim ~/.vim/
ln -s ~/.dotfiles/vim/UltiSnips ~/.vim/
ln -s ~/.dotfiles/zsh ~/.zsh
ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc