From a71abc3962438a77be3e531ce1b9c4a59af7edae Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 18 Sep 2023 14:13:31 -0400 Subject: [PATCH 1/3] vault backup: 2023-09-18 14:13:31 && git push --- .pspgconf | 12 +++++++++--- .psqlrc | 5 +++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.pspgconf b/.pspgconf index 02dba4a..b1f6cd4 100644 --- a/.pspgconf +++ b/.pspgconf @@ -13,7 +13,7 @@ force_uniborder = false show_rownum = false without_commandbar = false without_topbar = false -vertical_cursor = false +vertical_cursor = true on_sigint_exit = false no_sigint_search_reset = false double_header = false @@ -25,10 +25,16 @@ menu_always = false empty_string_is_null = true last_row_search = true progressive_load_mode = true -highlight_odd_rec = false +highlight_odd_rec = true hide_header_line = false -theme = 0 +on_exit_reset = false +on_exit_clean = false +on_exit_erase_line = false +on_exit_sgr0 = false +direct_color = false +theme = 18 border_type = 2 default_clipboard_format = 0 clipboard_app = 0 hist_size = 500 +esc_delay = -1 diff --git a/.psqlrc b/.psqlrc index 666c846..31e531c 100644 --- a/.psqlrc +++ b/.psqlrc @@ -2,3 +2,8 @@ \set x '\\setenv PAGER ''less -S''' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' \timing on +\set QUIET 1 +\pset linestyle unicode +-- \pset border 2 +\pset null ∅ +\unset QUIET From c6f5a7f87de48e5797e86113a7e91ce978b90ab4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 18 Sep 2023 14:15:45 -0400 Subject: [PATCH 2/3] vault backup: 2023-09-18 14:15:45 --- .bashrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 197fad2..2ddd1c6 100644 --- a/.bashrc +++ b/.bashrc @@ -108,7 +108,13 @@ alias gr='git reset HEAD' alias gc='git commit -v' alias gd='git difftool' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' -alias vc='git add . -- && git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S") && git push"' +#alias vc='git add . -- && git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S") && git push"' +vc() { + git add . + git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")" + git push +} + # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert From a756072b693880384e5787ae2d7edb95fbc4615f Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 18 Sep 2023 14:16:09 -0400 Subject: [PATCH 3/3] vault backup: 2023-09-18 14:16:09 --- .bashrc | 1 - 1 file changed, 1 deletion(-) diff --git a/.bashrc b/.bashrc index 2ddd1c6..ec488c1 100644 --- a/.bashrc +++ b/.bashrc @@ -108,7 +108,6 @@ alias gr='git reset HEAD' alias gc='git commit -v' alias gd='git difftool' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' -#alias vc='git add . -- && git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S") && git push"' vc() { git add . git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"