Skip to content

Instantly share code, notes, and snippets.

@jjNford
Last active May 12, 2019 09:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jjNford/4252229 to your computer and use it in GitHub Desktop.
Save jjNford/4252229 to your computer and use it in GitHub Desktop.
Default .bash_profile file.
# 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`
export ANDROID_NDK_HOME=`brew --prefix android-ndk`
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r20.0.1
alias adb="$ANDROID_HOME/platform-tools/adb"
alias android="$ANDROID_HOME/tools/android"
alias 9patch="$ANDROID_HOME/tools/draw9patch"
# OSX
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder"
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder"
# HEROKU
export PATH="/usr/local/heroku/bin:$PATH"
## RUBY
export PATH="/usr/local/Cellar/ruby/1.9.3-p194/bin:$PATH"
## NGREP
alias ngrep80="sudo ngrep -d en1 -W byline port 80"
alias ngrep443="sudo ngrep -d en1 -W byline port 443"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment