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-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-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
|
|
|
|
|