From 10a70d4e52c4d79cb4052a7ba1ce4e2456352591 Mon Sep 17 00:00:00 2001 From: monacoremo Date: Tue, 1 Dec 2020 21:47:33 +0100 Subject: [PATCH] add autocompletion for postgrest-watch --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell.nix b/shell.nix index 5876a5228..ddac86916 100644 --- a/shell.nix +++ b/shell.nix @@ -35,5 +35,10 @@ lib.overrideDerivation postgrest.env ( ++ lib.optional memoryTests postgrest.tests.memoryTests ++ lib.optional docker postgrest.docker ++ lib.optional release postgrest.release; + + shellHook = + '' + complete -c postgrest-watch + ''; } )