From 1307e0dd9af9da56b2c07893d917fcc2be316e22 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Thu, 17 Jan 2013 14:40:23 +0100 Subject: [PATCH] Support colors in the less pager --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 305392a..0b58540 100644 --- a/.bashrc +++ b/.bashrc @@ -102,7 +102,8 @@ alias tail='tail -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 2))' # If the output is smaller than the screen height is smaller, # less will just cat it -export LESS="-FX" +# + support ANSI colors +export LESS="-FX -R" # nautilus file manager in browser mode without destkop management alias nautile='nautilus --no-desktop --browser'