2019-08-07 19:08:57 -07:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
2019-07-13 11:20:08 -07:00
|
|
|
rm $HOME/.vim/ -rf
|
|
|
|
rm $HOME/.vim/autoload/ -rf
|
|
|
|
rm $HOME/.vim/bundle/ -rf
|
2019-06-25 21:05:04 -07:00
|
|
|
|
2019-07-13 11:20:08 -07:00
|
|
|
mkdir $HOME/.vim
|
|
|
|
mkdir $HOME/.vim/autoload
|
|
|
|
mkdir $HOME/.vim/bundle
|
2019-06-25 21:05:04 -07:00
|
|
|
|
2019-07-13 11:20:08 -07:00
|
|
|
curl -LSso $HOME/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
|
2018-03-10 08:05:42 -08:00
|
|
|
|
2019-07-13 11:20:08 -07:00
|
|
|
git clone https://github.com/ctrlpvim/ctrlp.vim.git $HOME/.vim/bundle/ctrlp.vim
|
|
|
|
git clone https://github.com/jpalardy/vim-slime.git $HOME/.vim/bundle/vim-slime
|
2018-02-11 12:49:42 -08:00
|
|
|
|
2019-08-07 19:08:57 -07:00
|
|
|
cp -rf $DIR/dotfiles/.vimrc $HOME/.vimrc
|
2019-07-13 11:20:08 -07:00
|
|
|
echo ".vimrc copied"
|
2018-03-13 13:11:09 -07:00
|
|
|
|
2019-08-07 19:08:57 -07:00
|
|
|
cp $DIR/dotfiles/.gitconfig $HOME/.gitconfig
|
2019-07-13 11:20:08 -07:00
|
|
|
echo ".gitconfig copied"
|
2018-03-15 10:58:57 -07:00
|
|
|
|
2019-08-07 19:08:57 -07:00
|
|
|
cp $DIR/dotfiles/.bash_profile $HOME/.bash_profile
|
2019-07-13 11:20:08 -07:00
|
|
|
echo ".bash_profile copied"
|
2018-03-15 10:58:57 -07:00
|
|
|
|
2019-07-13 11:20:08 -07:00
|
|
|
source $HOME/.bash_profile
|