diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 11:26:43 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-10-23 19:35:07 +0200 |
| commit | 1e89d931584841ea2116d9d36c9beaeb188152fe (patch) | |
| tree | 1d2cc217e9e6d9e85075f733f2a0dbd311cc41af | |
| parent | 3f900442b4b3199f8601934ee1674b178858a412 (diff) | |
system: Set ‘HISTSIZE’ in default bashrc.
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
| -rw-r--r-- | gnu/system/shadow.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 240facc3bdf..315becaab6a 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 |
