From 40ec1a0e40e4fa0e55ea496b01761ec0a8d761d7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 21 Jul 2010 15:18:35 +0200 Subject: [PATCH] List possible terminal attributes and colors --- sys/bashrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/bashrc b/sys/bashrc index 1ab83d2..96c1918 100644 --- a/sys/bashrc +++ b/sys/bashrc @@ -34,6 +34,16 @@ case "$TERM" in xterm|xterm-color) # color terminal + # terminal attributes + # 0: reset / 1: bright / 2: dim / 4: underline / 5: blink / + # 7: reverse / 8: hidden. + # foreground colors + # 30: black / 31: red / 32: green / 33: yellow / 34: blue / + # 35: magenta / 36: cyan / 37: white + # background colors + # 40: black / 41: red / 42: green / 43: yellow / 44: blue / + # 45: magenta / 46: cyan / 47: white + # colors for shell prompt etc. COLOR_RESET="\[\e[0m\]" COLOR_PREPOSTTXT="\[\e[1;37m\]" -- 2.39.2