-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·39 lines (26 loc) · 918 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
git submodule init
git submodule update
git submodule foreach git pull origin master
rm ~/.inputrc
ln -s ~/Libs/Terminal/readline/inputrc ~/.inputrc
rm ~/.bashrc
ln -s ~/Libs/Terminal/bash/bashrc ~/.bashrc
rm ~/.bash_profile
ln -s ~/Libs/Terminal/bash/bash_profile ~/.bash_profile
rm ~/.pythonrc.py
ln -s ~/Libs/Terminal/python/pythonrc.py ~/.pythonrc.py
rm ~/.screenrc
ln -s ~/Libs/Terminal/screen/screenrc ~/.screenrc
rm ~/.gitconfig
ln -s ~/Libs/Terminal/git/gitconfig ~/.gitconfig
rm ~/.git.commit.template
ln -s ~/Libs/Terminal/git/git.commit.template ~/.git.commit.template
rm ~/.vimrc
ln -s ~/Libs/Terminal/vim/vimrc ~/.vimrc
rm -rf ~/.vim
mkdir -p ~/.vim/autoload/
mkdir ~/.vim/autoload/pathogen
ln -s ~/Libs/Terminal/vim/pathogen/autoload/pathogen.vim ~/.vim/autoload/pathogen.vim
ln -s ~/Libs/Terminal/vim/vim/bundle ~/.vim/bundle
vi -c "BundleClean!" -c "BundleInstall!" -c "qall"