Created
July 3, 2015 11:31
-
-
Save twocity/b10816ce08daac5af28d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#export GITAWAREPROMPT=~/.bash/git-aware-prompt | |
#source $GITAWAREPROMPT/main.sh | |
export CLICOLOR=1 | |
export PATH=~/bin:$PATH | |
export PATH=/usr/local/bin:$PATH | |
export PATH=/usr/local/lib:$PATH | |
export PATH=${PATH}:/usr/local/lib/node_modules/hexo-cli/bin/ | |
export PATH=${PATH}:~/Library/gradle | |
export PATH=${PATH}:~/Library/gradle/bin | |
export PATH=${PATH}:/Users/twocity/Documents/android/adt-bundle/sdk | |
export PATH=${PATH}:/Users/twocity/Documents/android/adt-bundle/sdk/tools | |
export PATH=${PATH}:/Users/twocity/Documents/android/adt-bundle/sdk/platform-tools | |
export PATH=${PATH}:/Users/twocity/Documents/android/adt-bundle/sdk/build-tools/18.1.0 | |
export PATH=${PATH}:/Users/twocity/Documents/android/adt-bundle/android-ndk/ | |
export ANDROID_HOME=/Users/twocity/Documents/android/adt-bundle/sdk | |
export ANDROID_NDK_HOME=/Users/twocity/Documents/android/adt-bundle/android-ndk | |
export PATH=${PATH}:~/bin/repo | |
export PATH=${PATH}:~/workspace/code/tools/stetho/scripts | |
export PATH=${PATH}:~/workspace/code/tools/git-fat | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# mount the android file image | |
function mountAndroid { hdiutil attach ~/android.dmg.sparseimage -mountpoint /Volumes/android; } | |
function uninstallrb { adb uninstall com.ricebook.activity; } | |
function logrb { ~/./pidcat.py com.ricebook.activity; } | |
function logcoffee { pidcat com.ricebook.activity.coffee; } | |
# show git branch | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
find_save_point() { | |
git log -1 --pretty=format:"%s" --grep=SAVEPOINT > /dev/null | |
} | |
export PS1="\[\e[0;31m\]\u \[\033[32m\]\w - \$(parse_git_branch)\[\033[00m\] $ " | |
# | |
#export http_proxy='http://127.0.0.1:10001' | |
#export https_proxy='http://127.0.0.1:10001' | |
function loginCI { "ssh [email protected]"; } | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
export NVM_DIR="/Users/twocity/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
export EDITOR='vim' | |
alias mux=tmuxinator | |
#export PATH="$PATH:/Users/twocity/dev/infer-osx-v0.1.0/infer/infer/bin" | |
# OPAM configuration | |
. /Users/twocity/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true | |
export PATH="$PATH:/Users/twocity/dev/infer-osx-v0.1.1/infer/infer/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment