Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| #!/bin/bash | |
| current_branch=$(git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | |
| if [ "$current_branch" != "master" ]; then | |
| echo "WARNING: You are on branch $current_branch, NOT master." | |
| fi | |
| echo -e "Fetching merged branches...\n" | |
| git remote update --prune | |
| remote_branches=$(git branch -r --merged | grep -v '/master$' | grep -v "/$current_branch$") |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| # DIRECTORIES | |
| alias dev="cd ~/Developer/dev" | |
| alias sy="cd ~/Developer/dev/sincerely" | |
| # APPLICATIONS | |
| alias lime="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl" | |
| alias markdown="/Applications/Markdown\ Pro.app/Contents/MacOS/Markdown\ Pro" | |
| # ANDROID | |
| export ANDROID_HOME=`brew --prefix android-sdk` |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| interactive = auto | |
| ui = true | |
| pager = true | |
| [color "branch"] | |
| current = yellow reverse |
| TEXT EDITORS | |
| EDITOR="Visual" | |
| VISUAL="Vim" | |
| [merge] | |
| tool = sublimerge | |
| [mergetool "sublimerge"] | |
| cmd = subl -n --wait \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\" --command \"sublimerge_diff_views\" | |
| trustExitCode = false |
A Pen by Angelfirenze on CodePen.