mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 22:00:08 +00:00
6 lines
330 B
Bash
6 lines
330 B
Bash
|
# Aliases to stop, start and restart Postgres
|
||
|
# Paths noted below are for Postgress installed via Homebrew on OSX
|
||
|
|
||
|
alias startpost='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
|
||
|
alias stoppost='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
|
||
|
alias restartpost='stoppost && sleep 1 && startpost'
|