From 03343272b778260016216266facd190936f9e7d3 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sun, 3 Apr 2022 21:07:19 +0200 Subject: [PATCH] fix(bash): ensure `checkwinsize` is enabled for `$COLUMNS` (#3832) --- src/init/starship.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/init/starship.bash b/src/init/starship.bash index 790c2c12..6c39e81e 100644 --- a/src/init/starship.bash +++ b/src/init/starship.bash @@ -99,6 +99,9 @@ else fi fi +# Ensure that $COLUMNS gets set +shopt -s checkwinsize + # Set up the start time and STARSHIP_SHELL, which controls shell-specific sequences STARSHIP_START_TIME=$(::STARSHIP:: time) export STARSHIP_SHELL="bash"