Skip to content
Permalink
Browse files

postgres aliases

  • Loading branch information...
russmatney committed Jan 3, 2015
1 parent 7ca425b commit 68645933ff2cc591d577aaed52af643998be1128
Showing with 7 additions and 4 deletions.
  1. +7 −4 zshrc
11 zshrc
@@ -59,15 +59,18 @@ bindkey -v
# Git Aliases
alias 'glp'="git log --graph --pretty=format:'%Cred%h%Creset -%Cblue %an %Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias 'gpb'="git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d"
alias 'amnesia'='update-index --assume-unchanged'
alias 'recall'='update-index --no-assume-unchanged'
alias 'forgetfulness'="!sh -c 'git ls-files -v | grep ~[a-z]'"

# Postgres
alias pg_start='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias pg_stop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'

alias cgrep="grep --color=auto"
alias :q="exit"
alias :wq="exit"

alias 'amnesia'='update-index --assume-unchanged'
alias 'recall'='update-index --no-assume-unchanged'
alias 'forgetfulness'="!sh -c 'git ls-files -v | grep ~[a-z]'"

alias 'letsgo'='cd `go env GOPATH`/src/github.com'

### Added by the Heroku Toolbelt

0 comments on commit 6864593

Please sign in to comment.
You can’t perform that action at this time.