Merge d0f1ede34b
into dca1803ced
This commit is contained in:
commit
d100675f8e
|
@ -0,0 +1,11 @@
|
|||
Colorized Man Pages
|
||||
===================
|
||||
|
||||
Provides environment variables necessary to add color to `man` pages.
|
||||
|
||||
This module will make use of `man`
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
* `man` sets environment variables and then passes through to system `man` command. Syntax is `man zsh`
|
|
@ -0,0 +1,10 @@
|
|||
# vim: filetype=sh:
|
||||
# Colorize man pages
|
||||
LESS_TERMCAP_mb=$'\e[1;31m' \
|
||||
LESS_TERMCAP_md=$'\e[1;31m' \
|
||||
LESS_TERMCAP_me=$'\e[0m' \
|
||||
LESS_TERMCAP_se=$'\e[0m' \
|
||||
LESS_TERMCAP_so=$'\e[1;44;33m' \
|
||||
LESS_TERMCAP_ue=$'\e[0m' \
|
||||
LESS_TERMCAP_us=$'\e[1;32m' \
|
||||
command man "$@"
|
Loading…
Reference in New Issue