From 15f8d6180cee1fa3a8481e6c90deafa60c81ae96 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Mon, 27 May 2024 10:11:53 +0200 Subject: [PATCH] Restore `force_color_prompt` setting --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 875ea86..c013231 100644 --- a/.bashrc +++ b/.bashrc @@ -26,13 +26,13 @@ shopt -s checkwinsize # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in - xterm-color|*-256color) color_prompt=yes;; + xterm-color|*-256color|alacritty) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt -force_color_prompt=yes +#force_color_prompt=yes if [ "$force_color_prompt" == "yes" ] && [ -z "$color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setf 1 >&/dev/null; then