summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2011-06-07 07:54:51 +0200
committerMartin Väth <martin@mvath.de>2015-10-11 10:46:35 +0200
commit0450dc222439bd83c1a5b6aaee6b5abb85ad4cd1 (patch)
tree7dcf24b17028fdb62dfeb2a84f4fc7c13ed39af4 /sys-apps/less/files/README.Gentoo
parentAdd zsh-syntax-highlighting (diff)
downloadmv-0450dc222439bd83c1a5b6aaee6b5abb85ad4cd1.tar.gz
mv-0450dc222439bd83c1a5b6aaee6b5abb85ad4cd1.tar.bz2
mv-0450dc222439bd83c1a5b6aaee6b5abb85ad4cd1.zip
rename sys-apps/less-select -> sys-apps/less[less-select]
Diffstat (limited to 'sys-apps/less/files/README.Gentoo')
-rw-r--r--sys-apps/less/files/README.Gentoo22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/less/files/README.Gentoo b/sys-apps/less/files/README.Gentoo
new file mode 100644
index 00000000..dca83280
--- /dev/null
+++ b/sys-apps/less/files/README.Gentoo
@@ -0,0 +1,22 @@
+This version of less comes with some Gentoo enhancements:
+ - default lesspipe.sh script to "view" files
+ - colorization support
+
+To see what file types are supported, just read the /usr/bin/lesspipe.sh
+script (it's just a plain text bash script).
+
+Colorization support is disabled by default. To enable it, export the
+LESSCOLOR variable to "yes":
+ $ export LESSCOLOR=yes
+
+We also provide a colorization script, 'code2color', that is used by
+default. If you wish to use another script, simply export the LESSCOLORIZER
+variable to name of the script:
+ $ export LESSCOLORIZER=some-other-script
+
+If you want to use the code2color script and the default color schemes are
+not acceptable, you can develop your own schemes and save them in one of
+the following places:
+ /etc/code2color
+ ~/.code2color
+ CODE2COLOR_CONFIG env var