Skip to content

Instantly share code, notes, and snippets.

@ysheng26
Last active December 25, 2015 00:29
Show Gist options
  • Save ysheng26/6887784 to your computer and use it in GitHub Desktop.
Save ysheng26/6887784 to your computer and use it in GitHub Desktop.
bash_profile
source ~/Dropbox/shengy/scripts/git-completion.bash
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/shengy/bin
export PATH=$PATH:~/bin
export PATH=/usr/texbin:$PATH
export PATH=~/libs/android-sdk-macosx/platform-tools:~/libs/android-sdk-macosx/tools:$PATH
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/shims:$PATH"
# Visual Studio Code editor
code () {
if [[ $# = 0 ]]
then
open -a "Visual Studio Code"
else
[[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}"
open -a "Visual Studio Code" --args "$F"
fi
}
alias p4merge='/Applications/p4merge.app/Contents/MacOS/p4merge'
alias geo='cd ~/repos/georouting'
# alias 350='cd ~/Copy/bu-course/CS350/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment