From 72fc4fee534c2b28016dd004671b11bebc1b8c68 Mon Sep 17 00:00:00 2001 From: Aspen Smith Date: Thu, 17 Aug 2023 12:06:47 -0400 Subject: feat(grfn/system): Use fancy unicode chars in psql Change-Id: I3abb97a2f101fbf813736e48fa86b51ca2dbe931 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9083 Autosubmit: grfn Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/system/home/modules/development.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'users/grfn/system/home') diff --git a/users/grfn/system/home/modules/development.nix b/users/grfn/system/home/modules/development.nix index f68fb590ee17..d67c83e530bb 100644 --- a/users/grfn/system/home/modules/development.nix +++ b/users/grfn/system/home/modules/development.nix @@ -118,6 +118,7 @@ with lib; home.file.".psqlrc".text = '' \set QUIET 1 + \timing \set ON_ERROR_ROLLBACK interactive \set VERBOSITY verbose @@ -127,6 +128,12 @@ with lib; \set HISTFILE ~/.psql_history- :DBNAME \set HISTCONTROL ignoredups \pset null [null] + + \pset linestyle 'unicode' + \pset unicode_border_linestyle single + \pset unicode_column_linestyle single + \pset unicode_header_linestyle double + \unset QUIET ''; -- cgit 1.4.1