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.master
parent
ec41e37b4b
commit
d48954bf81
1
.zshrc
1
.zshrc
|
@ -7,6 +7,7 @@ setopt HIST_IGNORE_SPACE
|
||||||
setopt INTERACTIVE_COMMENTS
|
setopt INTERACTIVE_COMMENTS
|
||||||
|
|
||||||
export LESSCOLOR=1
|
export LESSCOLOR=1
|
||||||
|
export LESS='-R'
|
||||||
export PYTHONWARNINGS=default,ignore::ImportWarning
|
export PYTHONWARNINGS=default,ignore::ImportWarning
|
||||||
export NOSE_REDNOSE=1
|
export NOSE_REDNOSE=1
|
||||||
|
|
||||||
|
|
Reference in New Issue