From a68ff55568a2fcb500336acf872dd3ab78ec1974 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sun, 17 May 2020 00:18:56 -0400 Subject: [PATCH] pager should use the -S option --- .bashrc | 3 ++- .psqlrc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 1756cdb..043c099 100644 --- a/.bashrc +++ b/.bashrc @@ -117,7 +117,8 @@ if ! shopt -oq posix; then fi EDITOR=/usr/bin/vim.basic -PAGER="less -S" +PAGER="less" +LESS="-S" export IPTOKEN="6ac0a563fc06ab" export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" export NVM_DIR="/home/pt/.nvm" diff --git a/.psqlrc b/.psqlrc index 9843a2c..12d875d 100644 --- a/.psqlrc +++ b/.psqlrc @@ -1,3 +1,3 @@ -- 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\''