Skip to content

Instantly share code, notes, and snippets.

@Shehryar
Created July 14, 2016 15:14
Show Gist options
  • Save Shehryar/8b9fae51c3ee6ab3acffbc75c1dbc3bb to your computer and use it in GitHub Desktop.
Save Shehryar/8b9fae51c3ee6ab3acffbc75c1dbc3bb to your computer and use it in GitHub Desktop.
export PATH=/usr/local/php5/bin:$PATH
export PHP_COMMAND=/usr/local/php5/bin/php
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
export PATH=/usr/local/bin:$PATH
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
##
# Your previous /Users/Shehryar/.bash_profile file was backed up as /Users/Shehryar/.bash_profile.macports-saved_2014-05-26_at_19:20:54
##
# MacPorts Installer addition on 2014-05-26_at_19:20:54: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
#bash-completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
#bash-completion no home-brew
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
export PATH="$PATH:/Users/Shehryar/Downloads/infer-osx-v0.1.0/infer/infer/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment