dotfiles/install.sh

69 lines
1.6 KiB
Bash
Raw Normal View History

2013-06-01 23:07:50 +00:00
#!/bin/bash
2013-06-01 23:14:47 +00:00
WAI=`pwd`
2013-06-02 19:31:03 +00:00
#simple files
2013-06-01 23:14:47 +00:00
cd ~/
ln -s $WAI/bashrc ./.bashrc
2013-06-01 23:19:43 +00:00
ln -s $WAI/vimrc ./.vimrc
ln -s $WAI/gitconfig ./.gitconfig
2013-06-02 11:02:37 +00:00
ln -s $WAI/xinitrc ./.xinitrc
2013-06-11 15:00:23 +00:00
ln -s $WAI/screenrc ./.screenrc
2013-06-11 15:19:29 +00:00
ln -s $WAI/octaverc ./.octaverc
2013-07-30 13:55:38 +00:00
ln -s $WAI/mailcap ./.mailcap
2013-06-04 17:07:01 +00:00
ln -s $WAI/chooseWP.sh ~/Pictures/wallpapers/chooseWP.sh
2013-06-02 19:31:03 +00:00
#SSH
2013-06-02 11:02:37 +00:00
if [ ! -d "~/.ssh" ]; then mkdir .ssh/; fi;
cd ~/.ssh
ln -s $WAI/ssh/config ./
2013-07-31 14:03:11 +00:00
#MUTT
2013-08-03 10:47:08 +00:00
if [ ! -d "~/.mutt" ]; then mkdir ~/.mutt/; fi;
2013-07-31 14:03:11 +00:00
cd ~/.mutt
ln -s $WAI/mutt/muttrc ./
ln -s $WAI/mutt/killsig ./
ln -s $WAI/mutt/passwords.gpg ./
ln -s $WAI/mutt/crypto ./
ln -s $WAI/mutt/colors.test1 ./
ln -s $WAI/mutt/colors.test2 ./
2013-06-02 19:31:03 +00:00
#VIM
2013-06-02 12:37:54 +00:00
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
2013-06-02 19:31:03 +00:00
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
2013-08-04 15:50:26 +00:00
cd ..
if [ ! -d "./spell" ]; then mkdir spell; fi;
cd spell
for i in `ls $WAI/vim/spell`; do ln -s $WAI/vim/spell/$i ./$i; done
cd ..
if [ ! -d "./plugin" ]; then mkdir plugin; fi;
cd plugin
for i in `ls $WAI/vim/plugin`; do ln -s $WAI/vim/plugin/$i ./$i; done
2013-06-11 22:42:55 +00:00
cd ~
if [ -d "Programmation" ]; then mkdir Programmation; fi;
2013-06-04 16:43:31 +00:00
cd ~/Programmation
2013-07-03 23:48:39 +00:00
ln -s $WAI/git_auto_pull.sh ./git_auto_pull.sh
2013-06-04 16:43:31 +00:00
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
2013-06-11 20:39:53 +00:00
ln -s $WAI/Utils/octopus.sh ./octopus.sh