From b81a3e662e9f91a1fd20bacf186540a0137d3cac Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 19 Jun 2019 19:42:07 -0400 Subject: Set LESS=FRX This is how git invokes less by default. I think I want this everywhere. This allows color, exits if the input fits on one screen, and doesn't clear the screen. --- home/.config/catsh/env.sh | 1 + home/.kshrc | 1 + 2 files changed, 2 insertions(+) (limited to 'home') diff --git a/home/.config/catsh/env.sh b/home/.config/catsh/env.sh index 82275b51..9cbe00dd 100644 --- a/home/.config/catsh/env.sh +++ b/home/.config/catsh/env.sh @@ -9,6 +9,7 @@ PATH=$PATH:/usr/games CDPATH=:~ export PAGER=less +export LESS=FRX export EDITOR=nvim export MANPAGER="nvim -c 'set ft=man' -" export MANSECT=2:3:1:8:6:5:7:4:9 diff --git a/home/.kshrc b/home/.kshrc index c207a130..a74be2b2 100644 --- a/home/.kshrc +++ b/home/.kshrc @@ -12,6 +12,7 @@ CDPATH=:$HOME export PWD export PAGER=less +export LESS=FRX export MANSECT=2:3:1:8:6:5:7:4:9 export EDITOR=vim if whence nvim > /dev/null; then -- cgit 1.4.1