add setup.sh

This commit is contained in:
Jidbo 2018-11-13 16:41:58 +01:00
parent 8daefb07d0
commit e8f966e608

18
setup.sh Normal file
View file

@ -0,0 +1,18 @@
#!/usr/bin/sh
# remove all current dotfiles
rm -f ~/.zshrc
rm -f ~/.vimrc
rm -rf ~/.vim
# create symbolic links to dotfiles
ln -s ~/.dotfiles/.vimrc ~/.vimrc
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/.vim ~/.vim
# install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# next steps:
# - chage oh-my-zsh home directory
# - install Vundle plugins from inside vim :PluginInstall