Added rnt-db alias
This commit is contained in:
parent
21a3ec2d4d
commit
190bb4fb1e
@ -29,6 +29,8 @@ _rnt () { # autocompletion
|
|||||||
}
|
}
|
||||||
compdef _rnt rnt;
|
compdef _rnt rnt;
|
||||||
|
|
||||||
|
alias rntdb='$DOTWRYN/bin/rd-db.sh'
|
||||||
|
|
||||||
function refresh_rd_db() {
|
function refresh_rd_db() {
|
||||||
psql postgres -c "DROP DATABASE rentdynamics;"
|
psql postgres -c "DROP DATABASE rentdynamics;"
|
||||||
psql postgres -c "CREATE DATABASE rentdynamics with owner rd;"
|
psql postgres -c "CREATE DATABASE rentdynamics with owner rd;"
|
||||||
|
Loading…
Reference in New Issue
Block a user