Restore force_color_prompt setting
This commit is contained in:
parent
2e95e8a7df
commit
15f8d6180c
1 changed files with 2 additions and 2 deletions
4
.bashrc
4
.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue