summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-05-17 16:05:03 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-05-17 16:05:03 +0200
commit9f26ea26b50c33ccb5366d334132f42ffa03c73b (patch)
tree1975443db1a93bcd8a3b0d5d3dced2d0ee1548ef /.config/zsh
parent8f9027be40cfe82ef4f065210e59339e667a06c5 (diff)
yoinked TheLinuxCast's manpager colours
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc11
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"}