From 3db8883f746ed7d50275e3b4b8908fe547c24b8d Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 16 Feb 2021 14:20:47 +0100 Subject: [PATCH] Add aliases to nuke and create the databases --- shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell.nix b/shell.nix index 93bb6cc..7bfd0ef 100644 --- a/shell.nix +++ b/shell.nix @@ -23,5 +23,7 @@ in mkShell { fi alias psql='psql -d postgres' + alias create_db='psql -d postgres -f ${sql_file}' + alias nuke='rm -rf ${data_dir}' ''; }