aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-12 13:03:51 +0200
committerOmar Polo <op@omarpolo.com>2021-10-12 13:03:51 +0200
commit0b34f0900a08aa2ab802c1a016f13c3ba21feeaa (patch)
tree02fc487839e6d1de60fc5e1062012dfbb5af1f59
parentd02e6c94b906d437b63ff780a0cdbf08de012353 (diff)
downloaddots-main.tar.gz
dots-main.tar.bz2
set the postgresql pagerHEADmain
-rw-r--r--shells.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/shells.org b/shells.org
index 08d22b6..25625bc 100644
--- a/shells.org
+++ b/shells.org
@@ -105,6 +105,14 @@
export MANPAGER=less
#+end_src
+ I've found a cool pager for PostgreSQL, [[https://github.com/okbob/pspg][pspg]]. It's designed
+ explicitly for tabular data. Extra points for having some cool
+ light themes! Tao light theme (the number 20) is my favourite.
+
+ #+begin_src sh
+ export PSQL_PAGER='pspg -s20'
+ #+end_src
+
I'm using reposync to manage my local clone of the OpenBSD source
tree. Technically this isn't needed, because now =/usr/ports= is a
checkout from =/home/cvs/...=, but anyway