diff options
author | June McEnroe <june@causal.agency> | 2019-06-19 19:42:07 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-06-19 19:42:07 -0400 |
commit | 50b16f9cca202e59539f4b3d98da4b3f2ecc9573 (patch) | |
tree | 94663212d24681f956171d6d6f0179f7f44ca207 /home | |
parent | Alias date=ddate (diff) | |
download | src-50b16f9cca202e59539f4b3d98da4b3f2ecc9573.tar.gz src-50b16f9cca202e59539f4b3d98da4b3f2ecc9573.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | home/.config/catsh/env.sh | 1 | ||||
-rw-r--r-- | home/.kshrc | 1 |
2 files changed, 2 insertions, 0 deletions
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 |