summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc13
1 files changed, 12 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 07457dc..e74279a 100644
--- a/.zshrc
+++ b/.zshrc
@@ -16,7 +16,6 @@ CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
-
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
@@ -36,3 +35,15 @@ source $ZSH/oh-my-zsh.sh
# Customize to your needs...
alias pacman=pacman-color
unsetopt correct_all
+man() {
+ env \
+ LESS_TERMCAP_mb=$(printf "\e[1;31m") \
+ LESS_TERMCAP_md=$(printf "\e[1;31m") \
+ LESS_TERMCAP_me=$(printf "\e[0m") \
+ LESS_TERMCAP_se=$(printf "\e[0m") \
+ LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
+ LESS_TERMCAP_ue=$(printf "\e[0m") \
+ LESS_TERMCAP_us=$(printf "\e[1;32m") \
+ man "$@"
+}
+