summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-06-19 19:42:07 -0400
committerJune McEnroe <june@causal.agency>2019-06-19 19:42:07 -0400
commitb81a3e662e9f91a1fd20bacf186540a0137d3cac (patch)
tree7e08eedff24f60a489724f34cb285500d398d1b5 /home
parentAlias date=ddate (diff)
downloadsrc-b81a3e662e9f91a1fd20bacf186540a0137d3cac.tar.gz
src-b81a3e662e9f91a1fd20bacf186540a0137d3cac.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 'home')
-rw-r--r--home/.config/catsh/env.sh1
-rw-r--r--home/.kshrc1
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