dotfiles/setup.sh

17 lines
431 B
Bash
Raw Normal View History

2017-11-03 07:09:33 +00:00
#!/bin/bash
LINK_FILES=(bashrc vimrc tmux.conf gitconfig)
mkdir ~/.home-git-back
for file in ${LINK_FILES[@]}; do
[ -f ~/.${file} ] && mv -v ~/.${file} ~/.home-git-back
ln -s $(PWD)/${file} ~/.${file}
done
# git clones
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt
mkdir ~./vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle
vim -c ":PluginInstall" -c ":q" -c ":q"