1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 13:47:38 +00:00

fix(bash): ensure checkwinsize is enabled for $COLUMNS (#3832)

This commit is contained in:
David Knaack 2022-04-03 21:07:19 +02:00 committed by GitHub
parent 3014284e95
commit 03343272b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"