all repos — nixfiles @ 4cd3145a5447154c2836580a004f374a0af3600f

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

Install: clone repository before linking

Alan Pearce
commit

4cd3145a5447154c2836580a004f374a0af3600f

parent

04cc33e57f39991c645580d85a82c7246998190d

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

jump to
M installinstall
@@ -10,14 +10,14 @@ then
mkdir -pv $target fi -if [[ -d ~/Library/LaunchAgents ]] +if [[ ! -d $target && ${(L)host} =~ prefect ]] then - ln -sf $target/launchagents/* ~/Library/LaunchAgents + git clone git://github.com/alanpearce/dotfiles.git $target fi -if [[ ! -d $target && ${(L)host} =~ prefect ]] +if [[ -d ~/Library/LaunchAgents ]] then - git clone git://github.com/alanpearce/dotfiles.git $target + ln -sf $target/launchagents/* ~/Library/LaunchAgents fi install-dot () {