<commit_before># Oh My ZSH install
if node[:vampd_developer][:zsh]
  if platform?('ubuntu')
    package 'zsh' do
      action :install
    end
  end

  git "/root/.oh-my-zsh" do
    repository 'http://github.com/robbyrussell/oh-my-zsh.git'
    reference 'master'
    action :sync
  end

  file '/root/.zshrc' do
    owner 'root'
    group 'root'
    mode 0755
    content ::File.open('/root/.oh-my-zsh/templates/zshrc.zsh-template').read
    action :create
  end

  bash 'Change Shell to Oh-my-zsh' do
    user 'root'
    cmd = 'chsh -s `which zsh`'
    code <<-EOH
      set -x
      set -e
      #{cmd}
    EOH
  end
end<commit_msg>Update zsh.rb<commit_after># Oh My ZSH install
if node[:vampd_developer][:zsh]
  if platform?('ubuntu')
    package 'zsh' do
      action :install
    end
  end

  git "/root/.oh-my-zsh" do
    repository 'http://github.com/robbyrussell/oh-my-zsh.git'
    reference 'master'
    action :sync
  end

  file '/root/.zshrc' do
    content IO.read('/root/.oh-my-zsh/templates/zshrc.zsh-template').read
    action :create
  end

  bash 'Change Shell to Oh-my-zsh' do
    user 'root'
    cmd = 'chsh -s `which zsh`'
    code <<-EOH
      set -x
      set -e
      #{cmd}
    EOH
  end
end
{'fraction_non_alphanumeric': 0.13733552631578946, 'fraction_numerical': 0.003289473684210526, 'mean_word_length': 2.2453333333333334, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6223170', 'n_tokens_mistral': 486, 'n_tokens_neox': 468, 'n_words': 120}