Skip to content

Instantly share code, notes, and snippets.

@lopespm
lopespm / .bash_profile
Last active June 5, 2020 02:37 — forked from natelandau/.bash_profile
Show git branch
# ---------------------------------------------------------------------------
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
@lopespm
lopespm / gist:7411599
Last active December 28, 2015 00:09 — forked from gcatlin/gist:1847248
# Original Gist by gcatlin/gist:1847248
#
brew update
brew versions FORMULA
cd `brew --prefix`
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions"
brew unlink FORMULA
brew install FORMULA
git checkout -- Library/Formula/FORMULA.rb # reset formula