From 231d8a5dbd2ee8b695d59de5e368d436e42c1e19 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 5 Jun 2021 18:20:24 -0500 Subject: [PATCH] Bashrc.wiki: removed code from colored man pages section. Just read the source --- Bashrc.wiki | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Bashrc.wiki b/Bashrc.wiki index f534d11..a55d6d0 100644 --- a/Bashrc.wiki +++ b/Bashrc.wiki @@ -90,23 +90,9 @@ Most of these are simple creature comforts and are commented with sufficient exp https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/colored-man-pages.bash -Some color changes in `man` are almost essential for readability for me, so here's how I achieve that: +Some color changes in `man` are almost essential for readability for me, so I define my own. -{{{class="prettyprint" -# Enables colored Man pages: -man() { - env LESS_TERMCAP_mb=$'\E[01;31m' \ - LESS_TERMCAP_md=$'\E[01;38;5;74m' \ - LESS_TERMCAP_me=$'\E[0m' \ - LESS_TERMCAP_se=$'\E[0m' \ - LESS_TERMCAP_so=$'\E[38;5;246m' \ - LESS_TERMCAP_ue=$'\E[0m' \ - LESS_TERMCAP_us=$'\E[04;38;5;146m' \ - man "$@" -} -}}} - -This can also be done for any similar program that uses `less` as its pager. +This can be replicated for any similar program that uses `less` as its pager. ----