From 381f4f8a3a5f773cb80d2b7eb8f8d733b8861434 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 25 Nov 2025 01:31:19 +0000 Subject: [PATCH] bash: don't explicitly set checkwinsize (#8182) checkwinsize is enabled by default since bash5. It's not much hassle if enabled, but it's not necessary anymore and it conflicts if attempting to piggy-back on .bashrc with other kinda-compatible shells (e.g. osh). bash5 is default for a couple of years already, and there is no bash4 in there at all --- modules/programs/bash.nix | 4 ---- tests/modules/programs/fabric-ai/bashrc | 1 - 2 files changed, 5 deletions(-) diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index 12def4fc2..5ef0629cd 100644 --- a/modules/programs/bash.nix +++ b/modules/programs/bash.nix @@ -114,10 +114,6 @@ in # Append to history file rather than replacing it. "histappend" - # check the window size after each command and, if - # necessary, update the values of LINES and COLUMNS. - "checkwinsize" - # Extended globbing. "extglob" "globstar" diff --git a/tests/modules/programs/fabric-ai/bashrc b/tests/modules/programs/fabric-ai/bashrc index 0e70f37be..1d7ebdd7b 100644 --- a/tests/modules/programs/fabric-ai/bashrc +++ b/tests/modules/programs/fabric-ai/bashrc @@ -7,7 +7,6 @@ HISTFILESIZE=100000 HISTSIZE=10000 shopt -s histappend -shopt -s checkwinsize shopt -s extglob shopt -s globstar shopt -s checkjobs