diff options
-rwxr-xr-x | install | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/install b/install index d3eaf06a..20e72e5a 100755 --- a/install +++ b/install @@ -15,11 +15,6 @@ then git clone git://github.com/alanpearce/dotfiles.git $target fi -if [[ -d ~/Library/LaunchAgents ]] -then - ln -sf $target/launchagents/* ~/Library/LaunchAgents -fi - install-dot () { if [[ "$1" != . && ! -d $1 ]] then @@ -39,6 +34,10 @@ install-dot $target/.git/hooks/ $target/git-hooks/* install-dot .emacs.d/ $target/emacs/{init.el{,c},elisp} install-dot . $target/^install(.) $target/zsh/fasdrc install-dot .ssh/ $target/ssh/* +if [[ -d ~/Library/LaunchAgents ]] +then + install-dot ~/Library/LaunchAgents $target/launchagents/* +fi ln -sf $target/zsh/environment.zsh .zshenv ln -sf $target/zsh/interactive.zsh .zshrc |