all repos — nixfiles @ 8c278ce7d7f22486fcbb3d9eed826c49b690b895

System and user configuration, managed by nix and home-manager

Install: simplify launchagent installation

Alan Pearce
commit

8c278ce7d7f22486fcbb3d9eed826c49b690b895

parent

4cd3145a5447154c2836580a004f374a0af3600f

1 file changed, 4 insertions(+), 5 deletions(-)

jump to
M installinstall
@@ -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