Created
April 12, 2019 12:58
-
-
Save cook-cookie/77b520008628b7f1fea48c7b6c8da713 to your computer and use it in GitHub Desktop.
環境再現用スクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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