Conf perso

De TeteveWiki.

Le MAN en couleur :

installer "less" si ce n'est pas encore fait :

# apt-get install less

puis :

# vim /etc/zsh/zshenv
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
export PAGER='less' 

Pour annuler, supprimer tout simplement ces mêmes lignes.

lien source : http://www.crashdump.fr/tutoriels/tips-man-pages-en-couleurs-812/