<commit_before>unless File.exists?("/Applications/ShiftIt.app")
  remote_file "#{Chef::Config[:file_cache_path]}/ShiftIt.app.zip" do
    source "https://github.com/downloads/onsi/ShiftIt/ShiftIt.app.zip"
    mode "0644"
  end

  # start up on login
  execute "Start ShiftIt automatically" do
    command "defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{ \"Path\" = \"/Applications/ShiftIt.app\"; \"Hide\" = 0; }'"
    user WS_USER
  end

  execute "unzip ShiftIt" do
    command "unzip #{Chef::Config[:file_cache_path]}/ShiftIt.app.zip ShiftIt.app/* -d /Applications/"
    user WS_USER
    group "admin"
  end
end<commit_msg>shiftit: now starts automatically<commit_after>include_recipe "pivotal_workstation::addloginitem"

unless File.exists?("/Applications/ShiftIt.app")
  remote_file "#{Chef::Config[:file_cache_path]}/ShiftIt.app.zip" do
    source "https://github.com/downloads/onsi/ShiftIt/ShiftIt.app.zip"
    mode "0644"
  end

  execute "unzip ShiftIt" do
    command "unzip #{Chef::Config[:file_cache_path]}/ShiftIt.app.zip ShiftIt.app/* -d /Applications/"
    user WS_USER
    group "admin"
  end

  # start up on login
  execute "Start ShiftIt automatically" do
    command "addloginitem /Applications/ShiftIt.app"
    user WS_USER
  end
end
{'fraction_non_alphanumeric': 0.1305707584050039, 'fraction_numerical': 0.007036747458952306, 'mean_word_length': 4.12, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6467252', 'n_tokens_mistral': 450, 'n_tokens_neox': 424, 'n_words': 93}