Dariusz on Software

Methods and Tools

About This Site

Software development stuff

Archive

Man pages in (true)color ;-)
Fri, 09 Oct 2009 20:25:30 +0000

Do you want to see man pages in colors? I found this recipe:

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'

Here's the result:

1

Enjoy!

Tags: linux.

Tags

Created by Chronicle v3.5