From 2eaf81334edc9d37d21e003f542e06acf9499242 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Sat, 9 Apr 2022 09:45:35 -0500 Subject: [PATCH] nix: local history for nix-shell --- .gitignore | 1 + shell.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index b91c5996f..7bfb879c9 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ __pycache__ coverage .hpc loadtest +.history diff --git a/shell.nix b/shell.nix index 95fe15b7f..1eb663765 100644 --- a/shell.nix +++ b/shell.nix @@ -46,6 +46,8 @@ lib.overrideDerivation postgrest.env ( shellHook = '' + export HISTFILE=.history + source ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh source ${pkgs.git}/share/git/contrib/completion/git-completion.bash source ${postgrest.hsie.bashCompletion}