diff options
| -rw-r--r-- | .zshrc | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 "$@" +} + |
