Skip to content

Instantly share code, notes, and snippets.

@harrygr
Last active April 26, 2017 07: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 harrygr/978563db44ee420baae8cb466970a56a to your computer and use it in GitHub Desktop.
Save harrygr/978563db44ee420baae8cb466970a56a to your computer and use it in GitHub Desktop.
New Computer?

You need git on a mac

xcode-select --install

A tasty brew 🍺

# Apps
brew cask install spotify
brew cask install sublime-text
brew cask install visual-studio-code
brew cask install sequel-pro
brew cask install telegram
brew cask install slack

# Dev tools
brew install zsh zsh-completions
brew install node
brew install yarn

# Helpful Utils
brew install httpie
brew install wget
brew install trash

Shell Customisations

Oh My Zsh: https://github.com/robbyrussell/oh-my-zsh#basic-installation

Colour schemes: https://github.com/lysyi3m/osx-terminal-themes

.zshrc

export PATH=$HOME/bin:/usr/local/bin:./node_modules/.bin:$PATH
ZSH_THEME="dst"

Git Config

[user]
	name = example
	email = hello@example.com
[alias]
	nah = !git reset --hard; git clean -df;
	lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment