check set-system-preferences.sh
Softwares should be controlled by brew. Install homebrew http://brew.sh
brew install mas
Install xcode:
mas install 497799835
sudo xcodebuild -license accept
xcode-select --install
Put Brewfile in the folder and run:
brew bundle
sudo scutil --set HostName kelon
# Creates a new ssh key
ssh-keygen -t rsa -b 4096 -C "[email protected]"
# Copy ssh key to clipboard for adding to github.com
pbcopy < ~/.ssh/id_rsa.pub
# Test connection
ssh -T [email protected]
# Set git config values
git config --global user.name "your-name" && \
git config --global user.email "[email protected]" && \
git config --global github.user your-username && \
git config --global color.ui true && \
git config --global push.default simple && \
git config --global alias.co checkout && \
git config --global alias.ci commit -v&& \
git config --global alias.st status && \
git config --global alias.br branch && \
git config --global alias.ll "log --stat" && \
git config --global alias.lp "log --pretty=oneline --abbrev-commit --decorate --graph"