nix: local history for nix-shell

This commit is contained in:
steve-chavez
2022-04-18 15:48:03 -05:00
committed by Steve Chavez
parent c399b1f5f8
commit 2eaf81334e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -22,3 +22,4 @@ __pycache__
coverage coverage
.hpc .hpc
loadtest loadtest
.history
+2
View File
@@ -46,6 +46,8 @@ lib.overrideDerivation postgrest.env (
shellHook = shellHook =
'' ''
export HISTFILE=.history
source ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh source ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh
source ${pkgs.git}/share/git/contrib/completion/git-completion.bash source ${pkgs.git}/share/git/contrib/completion/git-completion.bash
source ${postgrest.hsie.bashCompletion} source ${postgrest.hsie.bashCompletion}