pager should use the -S option

This commit is contained in:
Paul Trowbridge 2020-05-17 00:18:56 -04:00
parent 1c1c1407e0
commit a68ff55568
2 changed files with 3 additions and 2 deletions

View File

@ -117,7 +117,8 @@ if ! shopt -oq posix; then
fi fi
EDITOR=/usr/bin/vim.basic EDITOR=/usr/bin/vim.basic
PAGER="less -S" PAGER="less"
LESS="-S"
export IPTOKEN="6ac0a563fc06ab" export IPTOKEN="6ac0a563fc06ab"
export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01"
export NVM_DIR="/home/pt/.nvm" export NVM_DIR="/home/pt/.nvm"

View File

@ -1,3 +1,3 @@
-- Switch pagers with :x and :xx commands -- Switch pagers with :x and :xx commands
\set x '\\setenv PAGER less' \set x '\\setenv PAGER ''less -S'''
\set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\''