helm/install.sh

12 lines
331 B
Bash
Raw Normal View History

2014-07-29 21:49:10 -07:00
#!/bin/zsh
2014-04-11 02:55:36 -07:00
2014-07-29 21:49:10 -07:00
# In case this file was run via curl
2014-06-21 02:20:01 -07:00
[ ! -d ~/.dotfiles ] && git clone https://github.com/hlissner/dotfiles ~/.dotfiles
2014-04-11 02:55:36 -07:00
2014-07-29 21:49:10 -07:00
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.dotfiles/^(README.md|Gemfile|install.sh)(.N); do
filep="${ZDOTDIR:-$HOME}/.${rcfile:t}"
[ -h $filep ] || ln -s "$rcfile" $filep
done