diff options
author | Alan Pearce | 2014-04-10 19:52:53 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-10 19:52:53 +0100 |
commit | 8c278ce7d7f22486fcbb3d9eed826c49b690b895 (patch) | |
tree | 041e3a5d40db8d8d900a6af96e55b0807ba2c6ea | |
parent | 4cd3145a5447154c2836580a004f374a0af3600f (diff) | |
download | dotfiles-8c278ce7d7f22486fcbb3d9eed826c49b690b895.tar.lz dotfiles-8c278ce7d7f22486fcbb3d9eed826c49b690b895.tar.zst dotfiles-8c278ce7d7f22486fcbb3d9eed826c49b690b895.zip |
Install: simplify launchagent installation
-rwxr-xr-x | install | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/install b/install index d3eaf06..20e72e5 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 |