Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fa0692becc
Fetching contributors…

Cannot retrieve contributors at this time

executable file 32 lines (25 sloc) 0.668 kb
#!/bin/sh
SCRIPT_DIR=`dirname $0`
SCRIPT_DIR=`pwd`"/${SCRIPT_DIR}"
PATH="${SCRIPT_DIR}/bin:${PATH}"
echo "Linking bin to home directory:"
if [ -h $HOME/bin ]; then
rm $HOME/bin
fi
lns $SCRIPT_DIR/bin $HOME/bin
echo "Linking sshconfig to .ssh directory"
if [ ! -d $HOME/.ssh ]; then
mkdir $HOME/.ssh
fi
lns $SCRIPT_DIR/sshconfig $HOME/.ssh/config
echo "Linking dotfiles to the home directory:"
for f in `ls $SCRIPT_DIR/dots`; do
if [ -h "${HOME}/.${f}" ]; then
rm "${HOME}/.${f}"
fi
lns "${SCRIPT_DIR}/dots/$f" "${HOME}/.${f}"
done
# Setup some system defaults
if [[ Darwin == $(uname) ]]; then
source $SCRIPT_DIR/deploy/osx.sh
fi
Jump to Line
Something went wrong with that request. Please try again.