From 1e89d931584841ea2116d9d36c9beaeb188152fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 30 Sep 2025 11:26:43 +0200 Subject: [PATCH] =?UTF-8?q?system:=20Set=20=E2=80=98HISTSIZE=E2=80=99=20in?= =?UTF-8?q?=20default=20bashrc.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This provides more appropriate defaults for today. This change affects /etc/bashrc, /etc/skel/.bashrc, along with ~/.bashrc for Home users. * gnu/system/shadow.scm (%default-bashrc): Set ‘HISTSIZE’. Change-Id: I4ffa7ad75c6f39f3f36d5a15ce420eae52e241e5 --- gnu/system/shadow.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 240facc3bdfea98fb746b70ba57a0b700b61e864..315becaab6a2fa385f02e9f6b723194d12f9f174 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -172,6 +172,9 @@ for i in /etc/bashrc.d/*.sh; do [[ -r $i ]] && source \"$i\" done unset i + +# Increase the history size (default is 500 entries). +HISTSIZE=10000 ")) (define %default-bash-profile