-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
39 lines (39 loc) · 850 Bytes
/
Copy pathinstall.sh
File metadata and controls
39 lines (39 loc) · 850 Bytes
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
#!/usr/bin/bash
dotdir=~/dotfiles
export DOTFILES_PROFILE=$1
. $dotdir/common/bashrc
export PATH=$PATH:$dotdir/bin
if [ ! -e ~/.vimrc ]
then
ln -s $dotdir/common/vimrc ~/.vimrc
fi
if [ ! -e ~/.vim ]
then
mkdir -p ~/.vim/bundle/vundle
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall
fi
if [ ! -e ~/.xmonad ]
then
ln -s $dotdir/common/xmonad ~/.xmonad
fi
if [ ! -e ~/.pentadactylrc ]
then
ln -s $dotdir/common/pentadactylrc ~/.pentadactylrc
fi
if [ ! -e ~/.caps_swap ]
then
ln -s $dotdir/common/caps_swap ~/.caps_swap
fi
if [ ! -e ~/.caps_unswap ]
then
ln -s $dotdir/common/caps_unswap ~/.caps_unswap
fi
if [ ! -e ~/.Xdefaults ]
then
ln -s $dotdir/common/Xdefaults ~/.Xdefaults
fi
if [ ! -e ~/.bash_profile ]
then
ln -s $dotdir/common/bash_profile ~/.bash_profile
fi