summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2022-05-18 09:22:16 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2022-05-18 09:22:16 +0200
commit78446cb1bc33d39f083c615c69e2e7236be20337 (patch)
treec747c9ab01611ab44f804f5f84f1f5c8482a8a88
parent549f515139990d4900c24e3b60176acd2d13d243 (diff)
yoinked TheLinuxCast's manpager colours
-rw-r--r--.bashrc9
1 files changed, 8 insertions, 1 deletions
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'