dotfiles/init.sh

25 lines
664 B
Bash
Raw Normal View History

2019-07-13 11:20:08 -07:00
DOTFILE_DIR=$HOME/dotfiles
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-07-13 11:20:08 -07:00
cp $DOTFILE_DIR/dotfiles/.vimrc $HOME/.vimrc
echo ".vimrc copied"
2018-03-13 13:11:09 -07:00
2019-07-13 11:20:08 -07:00
cp $DOTFILE_DIR/dotfiles/.gitconfig $HOME/.gitconfig
echo ".gitconfig copied"
2018-03-15 10:58:57 -07:00
2019-07-13 11:20:08 -07:00
cp $DOTFILE_DIR/dotfiles/.bash_profile $HOME/.bash_profile
echo ".bash_profile copied"
2018-03-15 10:58:57 -07:00
2019-07-13 11:20:08 -07:00
source $HOME/.bash_profile