Added javascript, python requirements. pylinrc. Fixed pip directory in dotfiles, add enable_access_for_assitive devices and slate. remove alfred, divvy.

This commit is contained in:
2014-10-23 02:38:27 -07:00
parent a5cc42a0d7
commit 1def33eb62
6 changed files with 43 additions and 3 deletions

View File

@@ -34,7 +34,8 @@ SHOULD_INSTALL = (
MISC = ("file-formula", "less", "openssh --with-brewed-openssl",
"perl518", "rsync", "svn", "unzip", "docker", "boot2docker", "pandoc",
"mercurial")
CASKS = ('alfred', 'caffeine', 'flux', 'google-chrome', 'iterm2', 'spotify', 'vlc', 'virtualbox', 'xquartz')
CASKS = ('caffeine', 'flux', 'google-chrome', 'iterm2', 'spotify',
'vlc', 'virtualbox', 'xquartz', 'synergy', 'slate')
@ctask
@@ -78,6 +79,26 @@ def setup_cocoa_emacs(ctx):
ctx.run('ln -s {0} {1}'.format(source, destination))
APPS_NEEDING_ASSISTIVE_DEVICE_ACCESS = ('Slate', 'Synergy', 'iTerm')
@ctask
def enable_access_for_assitive_devices(ctx):
for app in APPS_NEEDING_ASSISTIVE_DEVICE_ACCESS:
app_string = '/Applications/{0}.app'.format(app)
user_application = os.path.expanduser('~' + app_string)
if os.path.exists(user_application):
ctx.run(
'source ~/.zshrc && '
'enable_access_for_assitive_devices "{0}"'.format(
user_application
)
)
if os.path.exists(app_string):
ctx.run(
'source ~/.zshrc && '
'enable_access_for_assitive_devices "{0}"'.format(app_string)
)
@ctask
def get_command_line_tools(ctx):
if not command_exists('gcc'):