From 190bb4fb1e06742a9117451118ab755729697b2b Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Mon, 24 Feb 2020 18:52:30 -0700 Subject: [PATCH] Added rnt-db alias --- zsh/rentdynamics | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/rentdynamics b/zsh/rentdynamics index e67703c..5db12d9 100644 --- a/zsh/rentdynamics +++ b/zsh/rentdynamics @@ -29,6 +29,8 @@ _rnt () { # autocompletion } compdef _rnt rnt; +alias rntdb='$DOTWRYN/bin/rd-db.sh' + function refresh_rd_db() { psql postgres -c "DROP DATABASE rentdynamics;" psql postgres -c "CREATE DATABASE rentdynamics with owner rd;"