From 78446cb1bc33d39f083c615c69e2e7236be20337 Mon Sep 17 00:00:00 2001 From: adamstuck Date: Wed, 18 May 2022 09:22:16 +0200 Subject: yoinked TheLinuxCast's manpager colours --- .bashrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 8dcf76b..41529f3 100644 --- a/.bashrc +++ b/.bashrc @@ -14,7 +14,14 @@ PATH="$HOME/.dotnet/tools:$PATH" export PATH export EDITOR=vim export VISUAL=vim -export PAGER="less -i -j.5 -R --use-color -Dd+y -Du+c" +export PAGER="less -i -j.5 -R" + +export LESS_TERMCAP_mb=$'\E[1;31m' +export LESS_TERMCAP_md=$'\E[1;31m' +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_ue=$'\E[0m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_us=$'\E[1;32m' alias sudo='doas' alias sudoedit='doasedit' -- cgit v1.2.3-70-g09d2