From 0234005a3e0df6de8d967c2a8a85001662291603 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Mon, 28 Nov 2011 15:39:40 -0500 Subject: [PATCH] Support colours in less --- lib/less.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/less.zsh diff --git a/lib/less.zsh b/lib/less.zsh new file mode 100644 index 000000000..f55bc1968 --- /dev/null +++ b/lib/less.zsh @@ -0,0 +1,8 @@ +# support colors in less +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'