summaryrefslogtreecommitdiffstats
path: root/install.sh
blob: 87a0ac32388b56032dada42866484939030f188c (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
#!/bin/bash

# create the symbolic links to the files in this repository
cd `dirname $0`

git submodule init --update

CURRENT_PATH=`pwd`

ln -s $CURRENT_PATH/bash/bashrc ~/.bashrc
ln -s $CURRENT_PATH/bash/bash_aliases ~/.bash_aliases

ln -s $CURRENT_PATH/vim/vimrc ~/.vimrc
ln -s $CURRENT_PATH/vim/vim ~/.vim
touch ~/.vimrc.local

ln -s $CURRENT_PATH/profile ~/.profile

ln -s $CURRENT_PATH/Xdefaults ~/.Xdefaults

ln -s $CURRENT_PATH/screenrc ~/.screenrc

ln -s $CURRENT_PATH/fonts ~/.fonts
fc-cache -vf ~/.fonts

ln -s $CURRENT_PATH/bin ~/bin

cp $CURRENT_PATH/applis/powerline-shell-config.py.dist $CURRENT_PATH/applis/powerline-shell/config.py
cd $CURRENT_PATH/applis/powerline-shell && ./install.py && cd -
ln -s $CURRENT_PATH/applis/powerline-shell/powerline-shell.py $CURRENT_PATH/bin