aboutsummaryrefslogtreecommitdiff
path: root/install
blob: efa209a7c36cb3cd4ab39958b515135a490c3c9c (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
#!/bin/sh

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.

echo -ne "\e[1;34mInstall Bashrc\e[0m"
inst bashrc ~/.bashrc
inst shellrc ~/.shellrc
inst profile ~/.profile

echo -ne "\e[1;34mInstall zshrc\e[0m"
inst zshrc ~/.zshrc
inst zprofile ~/.zprofile

echo -ne "\e[1;34mInstall GIT configuration\e[0m"
inst gitconfig ~/.gitconfig
inst local/git-prompt.sh ~/.local/

echo -ne "\e[1;34mInstall configurations for various utility tools\e[0m"
inst screenrc ~/.screenrc

echo -ne "\e[1;34mInstall vim scripts\e[0m"
inst vimrc ~/.vimrc
mkdir -p ~/.cache/vim # directory for *.swp files
mkdir -p ~/.cache/vim-undo # directory for undo files