about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/development.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system/home/modules/development.nix')
-rw-r--r--users/grfn/system/home/modules/development.nix8
1 files changed, 8 insertions, 0 deletions
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