Skip to content

Instantly share code, notes, and snippets.

@petermanser
Created August 14, 2012 06:17
Show Gist options
  • Save petermanser/3346845 to your computer and use it in GitHub Desktop.
Save petermanser/3346845 to your computer and use it in GitHub Desktop.
.profile
alias mysqlstart='mysql.server start'
alias mysqlstop='mysql.server stop'
alias pyxtra='/Users/peter/projects/github/pyxtra/venv/bin/python /Users/peter/projects/github/pyxtra/pyxtra.py'
alias shrt='/Users/peter/projects/github/shrt/venv/bin/python /Users/peter/projects/github/shrt/shrt.py'
alias pman='man -t $* | ps2pdf - - | open -g -f -a /Applications/Preview.app'
alias mate='subl -w'
export EDITOR='subl -w'
export PATH=/usr/local/Cellar/php/5.3.8/bin:/usr/local/sbin:/usr/local/bin:$PATH$PATH
export PYTHONPATH=$PYTHONPATH:/Users/peter/projects/betacular/web
export ARCHFLAGS='-arch i386 -arch x86_64'
source /usr/local/bin/virtualenvwrapper.sh
#postgresql
alias postgresstart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias postgresstop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
# Set git autocompletion and PS1 integration
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
GIT_PS1_SHOWDIRTYSTATE=true
PS1='\[\033[39m\]\u@\h\[\033[00m\]:\[\033[39m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment