I am absolutely stealing this:
export LESS='-RX --quit-if-one-screen' export LESS='-RX --quit-if-one-screen'I find that for persistent configuration like this, it helps to use the long option format and include the man page contents for those options. I don’t have these options memorised so it’s good to have a reference handy to remind me.