You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
431 B

#!/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"