blob: 1caf62c3a37485a4006f93493cd465833497085a (
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
|
# Links configuration files to the ones listed here. Backup and remove your's
# and then run this script (while inside repo directory).
#
# Note: This solution is lazy and causes some problems. Like not being able to
# track vim pluggins.
# bash
ln -s ${PWD}/profile ~/.profile
ln -s ${PWD}/bash_aliases ~/.bash_aliases
ln -s ${PWD}/bashrc ~/.bashrc
ln -s ${PWD}/inputrc ~/.inputrc
# vim
# ~/.vimrc takes priority over ~/.vim/vimrc, so remove the former first
[ -d ~/.vim/ ] || mkdir -p ~/.vim/{undo,swap,backup,plugin}
ln -s ${PWD}/vim/vimrc ~/.vim/vimrc
ln -s ${PWD}/vim/fun.vim ~/.vim/fun.vim
# done
echo "all done :)"
|