From ebdcc1d78b8c567ae0f7dbcbf798f011f8d5fdd5 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 22 Dec 2014 13:08:12 -0500 Subject: [PATCH] Link LaunchAgents. --- tasks/osx.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/osx.py b/tasks/osx.py index 021ef2e7..42215b1a 100644 --- a/tasks/osx.py +++ b/tasks/osx.py @@ -161,3 +161,9 @@ def iTerm(ctx): @ctask def fix_pip(ctx): ctx.run("sudo easy_install -U pip") + + +@ctask +def launch_agents(ctx, flags=''): + ctx.run('dotfiles -sn{1} -R {0}/resources/LaunchAgents/ ' + '-H ~/Library/LaunchAgents'.format(util.REPO_DIRECTORY, flags))