12 lines
203 B
Bash
12 lines
203 B
Bash
|
#/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
|