dotfiles/bootstrap.sh

16 lines
420 B
Bash
Raw Normal View History

2016-04-08 01:39:33 +01:00
#!/usr/bin/env zsh
# Current dir
BASEDIR=$(pwd)
# ln the various files
test -L $HOME/.curlrc || ln -f -s $BASEDIR/curlrc $HOME/.curlrc
2016-04-08 03:37:25 +01:00
test -L $HOME/.hushlogin || ln -f -s $BASEDIR/hushlogin $HOME/.hushlogin
2016-04-08 01:39:33 +01:00
test -L $HOME/.zshrc || ln -f -s $BASEDIR/zshrc $HOME/.zshrc
# .gitconfig gets edited by .extra so we wont symlink it, but copy it
cp $BASEDIR/gitconfig $HOME/.gitconfig
# Source zshrc
source $HOME/.zshrc