mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Add postgres plugin to oh-my-zsh
This commit is contained in:
parent
c73047e296
commit
d9429fc980
1 changed files with 6 additions and 0 deletions
6
plugins/postgres-homebrew/postgres-homebrew.plugin.zsh
Normal file
6
plugins/postgres-homebrew/postgres-homebrew.plugin.zsh
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# commands to control local postgres installation
|
||||||
|
# paths are for osx installation via macports
|
||||||
|
|
||||||
|
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'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue