blob: cc994b0216a7f945d23c13604bd78e3fa22eae85 (
plain)
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
cd `dirname $0`
git submodule update --init || (echo "Submodule update failed!"; exit 5)
# Source inst and diff function
. ./utils/inst
#################################################################################
source private/install # private files, sorry but some privacy is required.
read -p "Install Bashrc? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst bashrc ~/.bashrc
inst shellrc ~/.shellrc
inst profile ~/.profile
fi
read -p "Install zshrc? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst zshrc ~/.zshrc
inst shellrc ~/.shellrc
inst zprofile ~/.zprofile
fi
read -p "Install GIT configuration? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst gitconfig ~/.gitconfig
inst local/git-prompt.sh ~/.local/
fi
read -p "Install VIM scripts? (Y/n) "
YCM_PATH=~/.vim/bundle/YouCompleteMe
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst vimrc ~/.vimrc
mkdir -p ~/.cache/vim # directory for *.swp files
mkdir -p ~/.cache/vim-undo # directory for undo files
fi
|