summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-07-23 08:54:14 +0200
committerJonas Smedegaard <dr@jones.dk>2024-07-23 08:54:14 +0200
commitcd005739d614ca19c54d8c6931109ea1d21b64d9 (patch)
tree2729d4ad9133e1c671b863382ae77d75dc220ddf /.bashrc
parent0889305ebe9edbee4851c65980bf9e6253de6caa (diff)
sync with skel: cover TERM *-256colorHEADmaster
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 4 insertions, 1 deletions
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'