Permalink
Browse files

Fix pg shortcuts to use the BOXEN_DATA_DIR for pg.

  • Loading branch information...
forest committed Feb 25, 2014
1 parent 3fe9f22 commit c6cc83b71c4da7a1cc628b2ffe2d89c7d9784521
Showing with 2 additions and 2 deletions.
  1. +2 −2 zsh.after/aliases.zsh
View
@@ -131,8 +131,8 @@ alias pss='passenger start'
alias pssp='RAILS_ENV=production passenger start'
# postgress
alias pgst='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias pgsp='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
alias pgst='pg_ctl -D $BOXEN_DATA_DIR/postgresql -l $BOXEN_LOG_DIR/postgresql/server.log start'
alias pgsp='pg_ctl -D $BOXEN_DATA_DIR/postgresql stop -s -m fast'
# mysql
alias mysqlst='mysql.server start'

0 comments on commit c6cc83b

Please sign in to comment.