aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2023-10-10 10:25:37 -0500
committerMatt Singleton <matt@xcolour.net>2023-10-10 10:25:37 -0500
commita2cf01a9279782be76bb043c621f3bd7a0d1f032 (patch)
tree634f2378950a47f48a519160b69d421d5206f012
parent3c095b6ac6598a4487dc15c47fa4d5c7fa6ba0b4 (diff)
more readable terminal colors for grep and less
-rw-r--r--config/all/zsh/20-appearance.zsh9
1 files changed, 4 insertions, 5 deletions
diff --git a/config/all/zsh/20-appearance.zsh b/config/all/zsh/20-appearance.zsh
index 97c42a0..848e7e2 100644
--- a/config/all/zsh/20-appearance.zsh
+++ b/config/all/zsh/20-appearance.zsh
@@ -16,18 +16,17 @@ else
fi
# grep
-export GREP_COLORS='mt=1;32'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
# less
-export LESS_TERMCAP_mb=$'\e[0;31m' # begin blinking - red
-export LESS_TERMCAP_md=$'\e[0;34m' # begin bold - blue
+export LESS_TERMCAP_mb=$'\e[1;31m' # begin blinking - bold red
+export LESS_TERMCAP_md=$'\e[1;34m' # begin bold - bold blue
export LESS_TERMCAP_me=$'\e[0m' # end mode
-export LESS_TERMCAP_so=$'\e[30;46m' # begin standout mode - black on cyan
+export LESS_TERMCAP_so=$'\e[1;33;47m' # begin standout mode - bold yellow on light gray ("white")
export LESS_TERMCAP_se=$'\e[0m' # end standout mode
-export LESS_TERMCAP_us=$'\e[4;33m' # begin underline - yellow underline
+export LESS_TERMCAP_us=$'\e[4;36m' # begin underline - cyan underline
export LESS_TERMCAP_ue=$'\e[0m' # end underline
#