dotfiles/make-links.sh

14 lines
268 B
Bash
Raw Normal View History

2016-08-22 12:04:24 +02:00
#/bin/bash
DIRNAME=`dirname $0`
# make-link source target
function make_link {
rm -rf $HOME/$2 && ln -s $PWD/$DIRNAME/$1 $HOME/$2
}
make_link zshrc .zshrc
make_link init.vim .config/nvim/init.vim
2016-08-22 13:58:25 +02:00
make_link awesome .config/awesome
2016-08-23 10:15:32 +02:00
make_link gitconfig .gitconfig