about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2023-08-17T16·06-0400
committerclbot <clbot@tvl.fyi>2023-08-17T16·12+0000
commit72fc4fee534c2b28016dd004671b11bebc1b8c68 (patch)
tree7efd596bac96adffb618c5eb029bacc81fbb9d9e /users
parent5cc62fc998ba345253be33d024e7e47178eb1508 (diff)
feat(grfn/system): Use fancy unicode chars in psql r/6486
Change-Id: I3abb97a2f101fbf813736e48fa86b51ca2dbe931
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9083
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/grfn/system/home/modules/development.nix7
1 files changed, 7 insertions, 0 deletions
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
   '';