helm/install.sh
2014-06-21 04:56:19 -04:00

21 lines
391 B
Bash
Executable file

#!/bin/sh
function do_link {
if [ ! -h "$2" ]; then
echo "ln -sf '$HOME/.dotfiles/$1' '$HOME/.$1'"
ln -sf "$HOME/.dotfiles/$1" "$HOME/.$1"
fi
}
[ ! -d ~/.dotfiles ] && git clone git@github.com:hlissner/dotfiles.git ~/.dotfiles
do_link zsh
do_link zshrc
do_link zshenv
do_link tmux.conf
do_link gitignore
do_link gitconfig
do_link bashrc
do_link ctags
do_link rake