Skip to content

Instantly share code, notes, and snippets.

@cook-cookie
Created April 12, 2019 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cook-cookie/77b520008628b7f1fea48c7b6c8da713 to your computer and use it in GitHub Desktop.
Save cook-cookie/77b520008628b7f1fea48c7b6c8da713 to your computer and use it in GitHub Desktop.
環境再現用スクリプト
#!/bin/bash
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
mkdir ~/Pictures/screenshots
defaults write com.apple.screencapture location ~/Pictures/screenshots
killall SystemUIServer
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git clone https://github.com/cook-cookie/dotfiles.git
cd ~/dotfiles
DOT_FILES=(.zshrc .vimrc .vim)
for file in ${DOT_FILES[@]}
do
ln -s $HOME/dotfiles/$file $HOME/$file
done
brew bundle
echo 'Complete!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment