From 3a402039b7acc48f5ed1cbe047841af6e57f2c67 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 7 Jan 2026 09:39:19 -0500 Subject: [PATCH] updates --- dotfiles/.bashrc | 2 +- dotfiles/.psqlrc | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 1e1dafd..1b1993e 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -197,4 +197,4 @@ bind 'set bell-style none' [ -f ~/dot_config/.bashrc_local ] && source ~/dot_config/.bashrc_local export PATH=$PATH:~/lua-language-server/bin -. "$HOME/.cargo/env" +[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env" diff --git a/dotfiles/.psqlrc b/dotfiles/.psqlrc index 31e531c..b93708c 100644 --- a/dotfiles/.psqlrc +++ b/dotfiles/.psqlrc @@ -1,9 +1,16 @@ -- Switch pagers with :x and :xx commands \set x '\\setenv PAGER ''less -S''' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' -\timing on +-- \timing on \set QUIET 1 \pset linestyle unicode -- \pset border 2 \pset null ∅ \unset QUIET +-- work with vd +-- \setenv PAGER 'vd -' +-- \pset format csv +-- \pset footer off +-- \setenv PSQL_PAGER_ALWAYS 1 +-- \pset paget on +