<commit_before>#!/bin/sh
mkdir ~/.config
mkdir ~/.cache

# Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
"
# NeoVim
mkdir ~/.cache/dein
ln -s ~/dotfile/nvim ~/.config/nvim

# tmux
ln -s ~/dotfile/tmux/.tmux.conf .tmux.conf

# zsh
# zplug install
zsh ~/dotfile/installer.zsh
ln -s ~/dotfile/zsh/.zshrc ~/.zshrc

# Ruby
rbenv install 2.3.1
rbenv rehash
rbenv global 2.3.1
gem install bundler
gem install rubocop<commit_msg>Update setup.sh<commit_after>#!/bin/sh
mkdir ~/.config
mkdir ~/.cache

# Homebrew
if ! which brew >& /dev/null;then
  brew_installed=0
  echo Homebrew is not installed!
  echo Install now...
  echo ruby -e \"\$\(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install\)\"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  echo
fi

# CLI install
brew install neovim/neovim/neovim
brew install rbenv
brew install pyenv
brew install zsh
brew install tmux

# NeoVim
mkdir ~/.cache/dein
ln -s ~/dotfile/nvim ~/.config/nvim

# tmux
ln -s ~/dotfile/tmux/.tmux.conf .tmux.conf

# zsh
# zplug install
zsh ~/dotfile/installer.zsh
ln -s ~/dotfile/zsh/.zshrc ~/.zshrc

# Ruby
rbenv install 2.3.1
rbenv rehash
rbenv global 2.3.1
gem install bundler
gem install rubocop
{'fraction_non_alphanumeric': 0.14208909370199693, 'fraction_numerical': 0.009984639016897081, 'mean_word_length': 3.4931034482758623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 3, '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': '6897571', 'n_tokens_mistral': 544, 'n_tokens_neox': 519, 'n_words': 132}