dotfiles/install.sh
Frank Villaro-Dixon d910a3b422 Utils added
2013-06-04 18:43:31 +02:00

39 lines
820 B
Bash
Executable file

#!/bin/bash
WAI=`pwd`
#simple files
cd ~/
ln -s $WAI/bashrc ./.bashrc
ln -s $WAI/vimrc ./.vimrc
ln -s $WAI/gitconfig ./.gitconfig
ln -s $WAI/xinitrc ./.xinitrc
#SSH
if [ ! -d "~/.ssh" ]; then mkdir .ssh/; fi;
cd ~/.ssh
ln -s $WAI/ssh/config ./
#VIM
if [ ! -d "~/.vim" ]; then mkdir ~/.vim/; fi;
cd ~/.vim
if [ ! -d "./colors" ]; then mkdir colors; fi;
cd colors
ln -s $WAI/vim/colors/wombat256modv1.vim ./wombat256modv1.vim
cd ..
if [ ! -d "./skeletons" ]; then mkdir skeletons; fi;
cd skeletons
for i in `ls $WAI/vim/skeletons`; do ln -s $WAI/vim/skeletons/$i ./$i; done
cd ~/Programmation
if [ ! -d "./Utils" ]; then mkdir Utils; fi;
cd ./Utils
ln -s $WAI/Utils/monitor.sh ./monitor.sh
ln -s $WAI/Utils/monitorOff.sh ./monitorOff.sh
ln -s $WAI/Utils/track.sh ./track.sh
ln -s $WAI/Utils/blink.sh ./blink.sh