diff options
author | Guerki <pol.guerkinger@gmail.com> | 2014-07-29 09:27:58 +0200 |
---|---|---|
committer | Guerki <pol.guerkinger@gmail.com> | 2014-07-29 09:27:58 +0200 |
commit | 65ce765043e75ffb459763565f21df786022f092 (patch) | |
tree | bbc50582ee0a239c7adc143bc7ef5509e6177c4d /plugins/postgres | |
parent | db3dd6d755776daf19b55f6a1cae080ae684030a (diff) | |
parent | 207b6a1e338e03ba06cccf255fbaa7e6147e8f94 (diff) | |
download | zsh-65ce765043e75ffb459763565f21df786022f092.tar.gz zsh-65ce765043e75ffb459763565f21df786022f092.tar.bz2 zsh-65ce765043e75ffb459763565f21df786022f092.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugins/postgres')
-rw-r--r-- | plugins/postgres/postgres.plugin.zsh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/postgres/postgres.plugin.zsh b/plugins/postgres/postgres.plugin.zsh index cdd142e92..c2dbef244 100644 --- a/plugins/postgres/postgres.plugin.zsh +++ b/plugins/postgres/postgres.plugin.zsh @@ -1,6 +1,8 @@ -# Aliases to stop, start and restart Postgres -# Paths noted below are for Postgress installed via Homebrew on OSX +# Aliases to control Postgres +# Paths noted below are for Postgres 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'
\ No newline at end of file +alias restartpost='stoppost && sleep 1 && startpost' +alias reloadpost='pg_ctl reload -D /usr/local/var/postgres -s' +alias statuspost='pg_ctl status -D /usr/local/var/postgres -s'
\ No newline at end of file |