From b090584af890de5a590fa8299409db733ca86ca1 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Fri, 16 Apr 2021 10:50:28 -0400 Subject: feat(grfn/home): Save GDB history across invocations Change-Id: Icb02d64b036c07f3ab5f41f3b2c714ec164c2b05 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3023 Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/system/home/modules/development.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'users/grfn/system/home') diff --git a/users/grfn/system/home/modules/development.nix b/users/grfn/system/home/modules/development.nix index c33dad2b4c2b..932c03d40885 100644 --- a/users/grfn/system/home/modules/development.nix +++ b/users/grfn/system/home/modules/development.nix @@ -110,6 +110,14 @@ with lib; }; }; + home.file.".gdbinit".text = '' + set history filename ~/.gdb_history + set history save on + set history size unlimited + set history remove-duplicates unlimited + set history expansion on + ''; + home.file.".psqlrc".text = '' \set QUIET 1 \timing -- cgit 1.4.1