From cd005739d614ca19c54d8c6931109ea1d21b64d9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 23 Jul 2024 08:54:14 +0200 Subject: sync with skel: cover TERM *-256color --- .bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 7764bc0..3a9e6ea 100644 --- a/.bashrc +++ b/.bashrc @@ -37,7 +37,7 @@ fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in - xterm-color) color_prompt=yes;; + xterm-color|*-256color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned @@ -84,6 +84,9 @@ if [ -x /usr/bin/dircolors ]; then #alias egrep='egrep --color=auto' fi +# colored GCC warnings and errors +#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + # some more ls aliases #alias ll='ls -l' #alias la='ls -A' -- cgit v1.2.3