From d48954bf818810d5eb730d8cb0e0396c64c53d07 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 3 May 2020 13:18:11 -0500 Subject: [PATCH] zshrc: Set LESS Fedora et al. do not set the `LESS` environment variable like Gentoo does. As a result, `less` does not interpret ANSI color codes by default, making the output from `gs`, etc. aliases unreadable. --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index 636fac9..8ced2a7 100644 --- a/.zshrc +++ b/.zshrc @@ -7,6 +7,7 @@ setopt HIST_IGNORE_SPACE setopt INTERACTIVE_COMMENTS export LESSCOLOR=1 +export LESS='-R' export PYTHONWARNINGS=default,ignore::ImportWarning export NOSE_REDNOSE=1