diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-17 16:05:03 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-17 16:05:03 +0200 |
commit | 9f26ea26b50c33ccb5366d334132f42ffa03c73b (patch) | |
tree | 1975443db1a93bcd8a3b0d5d3dced2d0ee1548ef | |
parent | 8f9027be40cfe82ef4f065210e59339e667a06c5 (diff) |
yoinked TheLinuxCast's manpager colours
-rw-r--r-- | .config/zsh/.zshrc | 11 |
1 files changed, 10 insertions, 1 deletions
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"} |