Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Angelfirenze01
Created February 9, 2017 22:31
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 Angelfirenze01/8965e7e59d9128f728d2ae3271334c51 to your computer and use it in GitHub Desktop.
Save Angelfirenze01/8965e7e59d9128f728d2ae3271334c51 to your computer and use it in GitHub Desktop.
My personal .bash_profile after much tinkering...
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
[diff]
tool = sublimerge
[difftool "sublimerge"]
cmd = subl -n --wait \"$REMOTE\" \"$LOCAL\" --command \"sublimerge_diff_views {\\\"left_read_only\\\": true, \\\"right_read_only\\\": true}\"
# APPLICATIONS
alias subl="/Applications/Sublime\ Text .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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment