From 9f26ea26b50c33ccb5366d334132f42ffa03c73b Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 17 May 2022 16:05:03 +0200 Subject: yoinked TheLinuxCast's manpager colours --- .config/zsh/.zshrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index a54bd48..774d861 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -16,7 +16,16 @@ 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 PAGER="less -i -j.5 -R --use-color -Dd+y -Du+c" + +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_so=$'\E[1;33m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_us=$'\E[1;32m' precmd () {print -Pn "\e]0;%n@%m:%~\a"} -- cgit v1.2.3-70-g09d2