From 2efd7a5e0b672eafb40fea74da434590f0362e66 Mon Sep 17 00:00:00 2001 From: citibeth Date: Sun, 27 Mar 2016 15:22:52 -0400 Subject: Added note on use of 'less -R' for colorized output. --- lib/spack/docs/basic_usage.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst index a42d941791..a5478d10c2 100644 --- a/lib/spack/docs/basic_usage.rst +++ b/lib/spack/docs/basic_usage.rst @@ -6,6 +6,15 @@ Basic usage The ``spack`` command has many *subcommands*. You'll only need a small subset of them for typical usage. +Note that Spack colorizes output. ``less -R`` should be used with +Spack to maintian this colorization. Eg:: + + spack find | less -R + +It is recommend that the following be put in your ``.bashrc`` file:: + + alias less='less -R' + Listing available packages ------------------------------ -- cgit v1.2.3-60-g2f50