dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit d20ebc696a4f559ea7a30c368a1a2801a1615061
parent e77c912356bd54b1a38a58f6456d29d077a36cd9
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 28 Mar 2023 16:09:30 -0700

Add LESS environment variable

Sets the following options:
-S or --chop-long-lines: Causes lines longer than the screen width to be
chopped (truncated) rather than wrapped.

-F or --quit-if-one-screen: Causes less to automatically exit if the
entire file can be displayed on the first screen.

-R or --RAW-CONTROL-CHARS: Causes "raw" control characters and ANSI
escape equences to be output.

-X or --no-init: Disables sending the termcap initialization and
deinitialization strings to the terminal. This is sometimes desirable if
the deinitialization string does something unnecessary, like clearing
the screen.

Diffstat:
M.zshenv | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.zshenv b/.zshenv @@ -6,6 +6,7 @@ umask 022 # Basics export EDITOR=vim export PAGER=less +export LESS="-SFRX" # Set language, date/time to Canadian French, currency to Japanese Yen. export LANG=ja_JP.UTF-8