From 5f25cd020ca787546a78e06adb90f75763eb3e62 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sun, 6 Dec 2020 23:37:13 -0500 Subject: [PATCH 01/41] save local branch --- .bashrc | 10 ++++++++-- .vimrc | 8 ++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index 4fdea88..fe140c5 100644 --- a/.bashrc +++ b/.bashrc @@ -120,14 +120,20 @@ EDITOR=/usr/bin/vim.basic PAGER="less" LESS="-S" export IPTOKEN="6ac0a563fc06ab" -export PG="psql -U ptrowbridge -d ubm -p 5432 -h 192.168.1.110" +export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" +export RU="//mnt/c/Users/PTrowbridge/AppData/Roaming/runner" +export HP="//mnt/c/Users/PTrowbridge" +export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE" export NVM_DIR="/home/pt/.nvm" +export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json" +export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm GOPATH=$HOME/go function _update_ps1() { - PS1="$($GOPATH/bin/powerline-go -error $?)" + #PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)" + PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" } if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" diff --git a/.vimrc b/.vimrc index 60c0b46..ddcab66 100644 --- a/.vimrc +++ b/.vimrc @@ -22,7 +22,7 @@ map k map h map l let NERDTreeShowHidden=1 -set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab +set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab colorscheme desert syntax on set splitright @@ -36,9 +36,9 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' -"let g:tmuxline_powerline_separators = 0 -let g:airline_powerline_fonts = 1 +let g:airline_theme = 'cobalt2' +let g:tmuxline_powerline_separators = 0 +let g:airline_powerline_fonts = 0 let mapleader = ";" set showcmd map a :bn From 874faedf0b210491a862410cf5581ac07d631958 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 16 Dec 2020 17:20:42 -0500 Subject: [PATCH 02/41] get rid of csv plugin --- .vimrc | 1 - 1 file changed, 1 deletion(-) diff --git a/.vimrc b/.vimrc index 7190e67..49aa5cb 100644 --- a/.vimrc +++ b/.vimrc @@ -11,7 +11,6 @@ Plugin 'scrooloose/nerdtree' Plugin 'tpope/vim-fugitive' Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' -Plugin 'chrisbra/csv.vim' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} " All of your Plugins must be added before the following line call vundle#end() " required From ef8a6d490647d5cd02a2f8b3565d034f96a8aaaa Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 8 Mar 2021 12:22:03 -0500 Subject: [PATCH 03/41] add mssql cmd --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index fe140c5..dbdb729 100644 --- a/.bashrc +++ b/.bashrc @@ -127,6 +127,7 @@ export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE" export NVM_DIR="/home/pt/.nvm" export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json" export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC" +export MS="sqlcmd.exe -S mid-sql02 -i" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm From 337119fa0276f0ae650db3cfd0ae2b41a136aa72 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 7 Apr 2021 10:34:13 -0400 Subject: [PATCH 04/41] scroll the whole page without moving the cursor, and remap arrows to re-size splits --- .vimrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 3eb9045..f93b99c 100644 --- a/.vimrc +++ b/.vimrc @@ -36,7 +36,7 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' +let g:airline_theme = 'light' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 let mapleader = ";" @@ -44,6 +44,9 @@ set showcmd map a :bn map f :bp map d :bp:bd # +"---move the whole page without moving the cursor--- +nnoremap J +nnoremap K "-----nerdtree-------------------- nmap e :NERDTreeToggle " Search as you type, highlight results @@ -52,3 +55,8 @@ set showmatch set hlsearch nnoremap \\ :noh " Clear higlighting "nnoremap :noh +" Resize windows +nnoremap 5+ +nnoremap 5- +nnoremap 10> +nnoremap 10< From a6e3542ef2a64a783bbff750682c41a07a1177ae Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 16 Apr 2021 08:04:07 -0400 Subject: [PATCH 05/41] add dev postgres --- .bashrc | 1 + .vimrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index dbdb729..55f1102 100644 --- a/.bashrc +++ b/.bashrc @@ -121,6 +121,7 @@ PAGER="less" LESS="-S" export IPTOKEN="6ac0a563fc06ab" export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" +export PGD="psql -U ptrowbridge -d ubm -p 5432 -h usmidlnx01" export RU="//mnt/c/Users/PTrowbridge/AppData/Roaming/runner" export HP="//mnt/c/Users/PTrowbridge" export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE" diff --git a/.vimrc b/.vimrc index f93b99c..fc0876b 100644 --- a/.vimrc +++ b/.vimrc @@ -36,7 +36,7 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'light' +let g:airline_theme = 'dark' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 let mapleader = ";" From 168e40d440203d227a7d503715353c74f6be7efe Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 17 May 2021 09:01:43 -0400 Subject: [PATCH 06/41] tmux mouse --- .tmux.conf | 3 +++ .vimrc | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index ab92bbc..da1c978 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -11,3 +11,6 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' + +# mouse support +set -g mouse on diff --git a/.vimrc b/.vimrc index fc0876b..1b87ada 100644 --- a/.vimrc +++ b/.vimrc @@ -12,6 +12,8 @@ Plugin 'tpop/vim-fugitive' Plugin 'scrooloose/nerdtree' Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' +Plugin 'godlygeek/tabular' +Plugin 'plasticboy/vim-markdown' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} " All of your Plugins must be added before the following line call vundle#end() " required @@ -39,6 +41,9 @@ let g:airline#extensions#tabline#enabled = 1 let g:airline_theme = 'dark' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 +"----markdown folding------------ +let g:vim_markdown_folding_disabled = 1 +"---general-------------------- let mapleader = ";" set showcmd map a :bn From f8a52a13083efbf151fa5bdc7cdf939942f6abf1 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 21 May 2021 08:56:44 -0400 Subject: [PATCH 07/41] turn mouse on --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index 1b87ada..5eecd76 100644 --- a/.vimrc +++ b/.vimrc @@ -25,6 +25,7 @@ map h map l let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab +set mouse=a colorscheme desert syntax on set splitright From bef3880e688e1f141791a18a913a0e4da48902de Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 21 May 2021 09:50:49 -0400 Subject: [PATCH 08/41] get rid of tabular plugin and disable folding --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 5eecd76..60b1372 100644 --- a/.vimrc +++ b/.vimrc @@ -12,7 +12,6 @@ Plugin 'tpop/vim-fugitive' Plugin 'scrooloose/nerdtree' Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' -Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} " All of your Plugins must be added before the following line @@ -43,7 +42,8 @@ let g:airline_theme = 'dark' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 "----markdown folding------------ -let g:vim_markdown_folding_disabled = 1 +"let g:vim_markdown_folding_disabled = 1 +set nofoldenable " disable folding "---general-------------------- let mapleader = ";" set showcmd From 376a0f099bb6e0b9b85278200c00487f54ddff32 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 27 May 2021 14:45:31 -0400 Subject: [PATCH 09/41] add pushall to push to all available remotes --- .gitconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 52a0446..3ab3511 100644 --- a/.gitconfig +++ b/.gitconfig @@ -7,7 +7,8 @@ [push] default = simple [alias] - quick-stats = ! /usr/local/bin/git-quick-stats + quick-stats = ! /usr/local/bin/git-quick-stats + pushall = !git remote | xargs -L1 git push [log] date = format:%Y-%m-%d %H:%M:%S [format] From 08d1b789d3470793cf6865ddf98ef5cb0bf831c4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 27 May 2021 14:48:02 -0400 Subject: [PATCH 10/41] get rid of quick stats, add alias to push to all remotes, and indentation --- .gitconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 52a0446..9bd7790 100644 --- a/.gitconfig +++ b/.gitconfig @@ -7,10 +7,10 @@ [push] default = simple [alias] - quick-stats = ! /usr/local/bin/git-quick-stats + pushall = !git remote | xargs -L1 git push --all [log] - date = format:%Y-%m-%d %H:%M:%S + date = format:%Y-%m-%d %H:%M:%S [format] - pretty = format:'%C(yellow)%h %Cred%ad %Cblue%an %Cgreen%d %Creset%s' + pretty = format:'%C(yellow)%h %Cred%ad %Cblue%an %Cgreen%d %Creset%s' [diff] - tool = vimdiff + tool = vimdiff From fb31622c3191c45d8ae6a8b32ae721a81184a380 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 7 Jun 2021 21:09:58 -0400 Subject: [PATCH 11/41] turn on mouse support --- .tmux.conf | 1 + .vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index ab92bbc..ed27168 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -4,6 +4,7 @@ bind -r h select-pane -L # move left bind -r j select-pane -D # move down bind -r k select-pane -U # move up bind -r l select-pane -R # move right +set -g mouse on #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' diff --git a/.vimrc b/.vimrc index a624c9d..bd33222 100644 --- a/.vimrc +++ b/.vimrc @@ -52,6 +52,7 @@ nmap e :NERDTreeToggle set incsearch set showmatch set hlsearch +set mouse=a nnoremap \\ :noh " Clear higlighting "nnoremap :noh " Resize windows From b279da9951b354ce06212adc20b5aada57d4b7db Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 24 Jun 2021 09:07:22 -0400 Subject: [PATCH 12/41] color scheme and wrapping off --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 60b1372..59606ee 100644 --- a/.vimrc +++ b/.vimrc @@ -25,7 +25,8 @@ map l let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab set mouse=a -colorscheme desert +set nowrap +colorscheme ron syntax on set splitright set splitbelow From 55251c87d5cdcad9d1ff5c684af0dd20f1586292 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 1 Mar 2022 09:19:34 -0500 Subject: [PATCH 13/41] updates --- .bashrc | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.bashrc b/.bashrc index 55f1102..d80599d 100644 --- a/.bashrc +++ b/.bashrc @@ -1,3 +1,4 @@ +export # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples @@ -125,19 +126,26 @@ export PGD="psql -U ptrowbridge -d ubm -p 5432 -h usmidlnx01" export RU="//mnt/c/Users/PTrowbridge/AppData/Roaming/runner" export HP="//mnt/c/Users/PTrowbridge" export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE" -export NVM_DIR="/home/pt/.nvm" export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json" export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC" +export PATH=$PATH:"//mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application" export MS="sqlcmd.exe -S mid-sql02 -i" -[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm - -GOPATH=$HOME/go -function _update_ps1() { - #PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)" - PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" -} -if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then - PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" +if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then + GIT_PROMPT_ONLY_IN_REPO=1 + source $HOME/.bash-git-prompt/gitprompt.sh fi +#GOPATH=$HOME/go +#function _update_ps1() { +# #PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)" +# PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" +#} +#if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then +# PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" +#fi + +export DENO_INSTALL="/home/ptrowbridge/.deno" +export PATH=$PATH:"$DENO_INSTALL/bin:$PATH" + +eval `keychain --eval id_rsa` From 8f48bd0aec33722b662390a7a0ddaee60220dd9b Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 1 Mar 2022 09:24:08 -0500 Subject: [PATCH 14/41] get rid of export --- .bashrc | 1 - 1 file changed, 1 deletion(-) diff --git a/.bashrc b/.bashrc index d80599d..56c5d2e 100644 --- a/.bashrc +++ b/.bashrc @@ -1,4 +1,3 @@ -export # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples From cb6dfa4ec33ca1f00fb9d0659a19287798134561 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Apr 2022 20:11:01 -0400 Subject: [PATCH 15/41] setup inputrc to disable the bell --- .bashrc | 3 ++- .inputrc | 1 + setup.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .inputrc diff --git a/.bashrc b/.bashrc index 9733ce1..95efd7d 100644 --- a/.bashrc +++ b/.bashrc @@ -119,7 +119,8 @@ fi EDITOR=/usr/bin/vim.basic PAGER="less" LESS="-S" -# export PG="psql -U ptrowbridge -d ubm -p 5432 -h 192.168.1.110" +export PG="psql -U ptrowbridge -d ubm -p 54329 -h hptrow.me" +export PGD="psql -U ptrowbridge -d ubm -p 54339 -h hptrow.me" # GOPATH=$HOME/go # function _update_ps1() { diff --git a/.inputrc b/.inputrc new file mode 100644 index 0000000..ac81a39 --- /dev/null +++ b/.inputrc @@ -0,0 +1 @@ +set bell-style none diff --git a/setup.sh b/setup.sh index ffc1325..6b95597 100755 --- a/setup.sh +++ b/setup.sh @@ -5,7 +5,7 @@ dir=~/dot_config backup=~/dot_config_backup -files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig" +files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc" #-------------------------------------------------install debian tooling----------------------------------------------------------------------------------- From 1429d228e5fc257ca496b737834e7d20254a54a8 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Apr 2022 20:14:20 -0400 Subject: [PATCH 16/41] disable the vim bell --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index bd33222..3aadc91 100644 --- a/.vimrc +++ b/.vimrc @@ -53,6 +53,9 @@ set incsearch set showmatch set hlsearch set mouse=a +"----disable the bell; t_vb is required to be set to nothing +set visualbell +set t_vb= nnoremap \\ :noh " Clear higlighting "nnoremap :noh " Resize windows From 66fcf702d48300a312d35cc61c26141c5563bf10 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Apr 2022 20:28:56 -0400 Subject: [PATCH 17/41] install and setup pspg and make psql default pager --- .bashrc | 1 + setup.sh | 20 +++++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.bashrc b/.bashrc index 95efd7d..a9a41cd 100644 --- a/.bashrc +++ b/.bashrc @@ -121,6 +121,7 @@ PAGER="less" LESS="-S" export PG="psql -U ptrowbridge -d ubm -p 54329 -h hptrow.me" export PGD="psql -U ptrowbridge -d ubm -p 54339 -h hptrow.me" +export PSQL_PAGER="pspg" # GOPATH=$HOME/go # function _update_ps1() { diff --git a/setup.sh b/setup.sh index 6b95597..8d61664 100755 --- a/setup.sh +++ b/setup.sh @@ -5,7 +5,7 @@ dir=~/dot_config backup=~/dot_config_backup -files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc" +files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc .pspgconf" #-------------------------------------------------install debian tooling----------------------------------------------------------------------------------- @@ -14,17 +14,17 @@ if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed" then echo "curl already installed" else - echo "installing curl" + echo "installing curl..." apt update -q4 apt install curl -y fi #----------vim----------- -if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed")" == "1" ] +if [ "$(dpkg-query -W -f='${Status}' "vim" 2>/dev/null | grep -c "ok installed")" == "1" ] then echo "vim already installed" else - echo "installing vim" + echo "installing vim..." apt update -q4 apt install vim -y fi @@ -34,11 +34,21 @@ if [ "$(dpkg-query -W -f='${Status}' "tmux" 2>/dev/null | grep -c "ok installed" then echo "tmux already installed" else - echo "installing tmux" + echo "installing tmux..." apt update -q4 apt install tmux -y fi +#----------pspg----------- +if [ "$(dpkg-query -W -f='${Status}' "pspg" 2>/dev/null | grep -c "ok installed")" == "1" ] +then + echo "pspg already installed" +else + echo "installing pspg..." + apt update -q4 + apt install pspg -y +fi + #------------------------------------------------ create the resore directory if it doesn't already exist-------------------------------------------------- if [ ! -d $backup ] From 8d02d2e6f777671cb4e041fad58ce7f03cfa1b24 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Apr 2022 20:29:10 -0400 Subject: [PATCH 18/41] add pspgcong --- .pspgconf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .pspgconf diff --git a/.pspgconf b/.pspgconf new file mode 100644 index 0000000..535dec8 --- /dev/null +++ b/.pspgconf @@ -0,0 +1,34 @@ +ascii_menu = false +bold_labels = false +bold_cursor = false +ignore_case = false +ignore_lower_case = false +no_cursor = false +no_sound = false +no_mouse = false +less_status_bar = false +no_highlight_search = false +no_highlight_lines = false +force_uniborder = false +show_rownum = false +without_commandbar = false +without_topbar = false +vertical_cursor = false +on_sigint_exit = false +no_sigint_search_reset = false +double_header = false +quit_on_f3 = false +pgcli_fix = false +xterm_mouse_mode = true +show_scrollbar = true +menu_always = false +empty_string_is_null = true +last_row_search = true +progressive_load_mode = true +highlight_odd_rec = false +hide_header_line = false +theme = 17 +border_type = 2 +default_clipboard_format = 0 +clipboard_app = 0 +hist_size = 500 From 98faeb58c98217a916e6f1842e9e856bf55890f1 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 2 May 2022 12:19:17 -0400 Subject: [PATCH 19/41] set default pspg and import tsx syntax for vim --- .pspgconf | 2 +- .vimrc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pspgconf b/.pspgconf index 535dec8..02dba4a 100644 --- a/.pspgconf +++ b/.pspgconf @@ -27,7 +27,7 @@ last_row_search = true progressive_load_mode = true highlight_odd_rec = false hide_header_line = false -theme = 17 +theme = 0 border_type = 2 default_clipboard_format = 0 clipboard_app = 0 diff --git a/.vimrc b/.vimrc index 3aadc91..9ba8895 100644 --- a/.vimrc +++ b/.vimrc @@ -11,6 +11,8 @@ Plugin 'kien/ctrlp.vim' Plugin 'scrooloose/nerdtree' Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' +Plugin 'leafgarland/typescript-vim' +Plugin 'peitalin/vim-jsx-typescript' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} " All of your Plugins must be added before the following line call vundle#end() " required From 9b6d07193d76c51b0672123d9854c0127d1f4c16 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 3 May 2022 09:50:17 -0400 Subject: [PATCH 20/41] set bell directly in bashrc --- .bashrc | 2 ++ .inputrc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 .inputrc diff --git a/.bashrc b/.bashrc index 0a6caa3..033059c 100644 --- a/.bashrc +++ b/.bashrc @@ -149,3 +149,5 @@ export DENO_INSTALL="/home/ptrowbridge/.deno" export PATH=$PATH:"$DENO_INSTALL/bin:$PATH" eval `keychain --eval id_rsa` + +bind 'set bell-style none' diff --git a/.inputrc b/.inputrc deleted file mode 100644 index ac81a39..0000000 --- a/.inputrc +++ /dev/null @@ -1 +0,0 @@ -set bell-style none From ecda413f118caf96886028579f866a06f827901a Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 3 May 2022 10:42:41 -0400 Subject: [PATCH 21/41] get rid of unnecessary paths --- .bashrc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.bashrc b/.bashrc index 033059c..59d14f4 100644 --- a/.bashrc +++ b/.bashrc @@ -122,12 +122,6 @@ LESS="-S" export IPTOKEN="6ac0a563fc06ab" export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" export PGD="psql -U ptrowbridge -d ubm -p 5432 -h usmidlnx01" -export RU="//mnt/c/Users/PTrowbridge/AppData/Roaming/runner" -export HP="//mnt/c/Users/PTrowbridge" -export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE" -export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json" -export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC" -export PATH=$PATH:"//mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application" export MS="sqlcmd.exe -S mid-sql02 -i" export PSQL_PAGER="pspg" From fd493e8e4939eb881cf137481e91a02b9b49a56e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 21 Sep 2022 13:56:50 -0400 Subject: [PATCH 22/41] pull files from onedrive --- grab.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 grab.sh diff --git a/grab.sh b/grab.sh new file mode 100755 index 0000000..75076fa --- /dev/null +++ b/grab.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +curl 'https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/download.aspx?UniqueId=ece6a9ec%2D750b%2D44a1%2D8e77%2Dc5c84625949c' \ + -H 'authority: hccompanies-my.sharepoint.com' \ + -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8' \ + -H 'accept-language: en-US,en;q=0.9' \ + -H 'cookie: MicrosoftApplicationsTelemetryFirstLaunchTime=1653311371691; MicrosoftApplicationsTelemetryDeviceId=a0610434-2a4e-5c2e-2c9b-b51ede5f92c1; ExcelWacDataCenter=PUS1; WacDataCenter=PUS1; KillSwitchOverrides_enableKillSwitches=; KillSwitchOverrides_disableKillSwitches=; nSGt-542D99B9054F514669678DDFE32E0756DC09EDEB6CD549BB=gYEwOEFFMTEwMzU5M0YwMDAzOENENDY2Qjc1NTA0NUU2NzI2NTQ0REFEODM5NjcwRDUzMDU0MkQ5OUI5MDU0RjUxNDY2OTY3OERERkUzMkUwNzU2REMwOUVERUI2Q0Q1NDlCQhIxMzMwODE2MTQxMTkwNzczNDUdaGNjb21wYW5pZXMtbXkuc2hhcmVwb2ludC5jb20CjaE83VUMs1yz9clsr1Lzs0o0E9Y75lS13NO7Ks0+VUJd7ewlCfUn1k+AO+/jrEm6J/hZT0FsE3g62ZMldwZZelQ5KqlRJc4cOXShAKdvlKDcnEz3CVScTWcyqHoUnJt+J7+TV5Oa3SQlIgi27VXitUV0PKsN4GnjDFTg+9B8Asv9lqCRAfH745b4YFTyg5zsyLKERLccaNmlVr/6pVX3107VmpPFzEi2B+DpW8RVc92RBr20ZCya+4j/rUME3GkEtCJQbHkDTawlWzMBFwHCAFAQ+oeirQywqqq4Qmbikpbw1ZbEuxGFzwET2TjcGIoAREPZW0fjRpImZKQIDmj/lQAAAA==; rtFa=IdBNqEcPR1AjGrvv7SgQYjuC3opFgyf5Za4SSbG5swUmRTc4NEM0MkItMjkwMC00QTQyLUI3MzctMjA3N0U2NThFMzUzIzEzMzA4MTYwODEzNjkxODMxMCM5MURBNjZBMC1FMEEwLUQwMDAtNTUwOS1ERDcxNjcyQUFBMjgjUFRST1dCUklER0UlNDBIQy1DT01QQU5JRVMuQ09NCgvbSHzfO/7DBuCNA0ykejweiszYCu/9L1+nat9BE1ltqvGyBEYIhp8UxTAGTb3NyYBy3W6Daqf4SBd2X8yfuCkkWHMICjAvv1pyQeLrjQ482PKjEt1nER9dY23RBiyVTiLoXT8eja1IZtyFb1SfgjQRMwhTxK1rnJ4cAWnkp9AL1FTm/wklErgy4hWDMnrFxnlt8Scz9bfSMCpt/qMnp1Kif1iEdgrMCUa70e4p5CfqyetmLmCi3GM2WfrzJTkR3qckRNf+aXDO0kPthF7+zUagAlwDcTNe4+iwVgVG9ifCTafZKrBIPT0Npuu9U8rp5olVcJkqM3TR7e0zZrXfA5wAAAA=; SIMI=eyJzdCI6MH0=; FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+VjEyLDBoLmZ8bWVtYmVyc2hpcHwxMDAzM2ZmZjk0YTJiZjA2QGxpdmUuY29tLDAjLmZ8bWVtYmVyc2hpcHxwdHJvd2JyaWRnZUBoYy1jb21wYW5pZXMuY29tLDEzMjg4NzM3ODE5MDAwMDAwMCwxMzI4NjA2MjE4NTAwMDAwMDAsMTMzMDg1OTI4MTM2NzYyMTU2LDY2LjE5LjE4Ny4yLDMsZTc4NGM0MmItMjkwMC00YTQyLWI3MzctMjA3N2U2NThlMzUzLCw3ODY4ODkxYy0zZGVjLTQxYjgtYjNmMi0zM2Q1MDg0ZDg3ZTcsOTFkYTY2YTAtZTBhMC1kMDAwLTU1MDktZGQ3MTY3MmFhYTI4LDkxZGE2NmEwLWUwYTAtZDAwMC01NTA5LWRkNzE2NzJhYWEyOCwsMCwxMzMwODI0NzIxMzYxMzcwMjksMTMzMDg0MjAwMTM2MTM3MDI5LCwsZXlKNGJYTmZZMk1pT2lKYlhDSkRVREZjSWwwaUxDSjRiWE5mYzNOdElqb2lNU0lzSW1GamNuTWlPaUpiWENKMWNtNDZkWE5sY2pweVpXZHBjM1JsY25ObFkzVnlhWFI1YVc1bWIxd2lYU0lzSW5CeVpXWmxjbkpsWkY5MWMyVnlibUZ0WlNJNklsQlVjbTkzWW5KcFpHZGxRRWhETFVOdmJYQmhibWxsY3k1amIyMGlMQ0oxZEdraU9pSnNaMHRYYzNGVE5HNVZkUzFhWWw5RFpGRTFPRUZCSW4wPSwxMzMwODE2NDQxMzY3NjIxNTYsMTMzMDgxNjA4MTIwMDAwMDAwLGZlZDQ2NzAyLTgxNzAtNGE0MS1hNTcyLWEwYmFhMmNkNTE4MywsLCwsLDAsLEpickw5MDg1SmVHRnFpWEdIUnc2aXk5K1h5Ky9JNzVVUmhiNlB2VHExclEyaW9WRnZGd1g0a2J1WFJzUGRWLzVIa3MxdEVTcVNUak1ra2VKbHJ2VjE1MWNVbWF1Vk1NQVRSd2tHanFUSFBaSTg5Rk5aVS8vQkpMUGdKejlueXVKWEgvbytvaUlzUDJnMjJUR1RnQmJzRlhSa2I5N29hek1nTk4xR3FJdEhDQXh4TUlFRWRnTndJTGdzQ0tIRWlPWWtJWFoyS2Z6ZFVwZkp1dnFBTFI1ZW5SWkJ2TG1teVJubmJ6Q2dRa2REa2R0cXJYeHJFeG5EalhuRnNjcllRaEpYTk9XSUVqVldFdnEvZUp3Vm8yN0RTeUlrSkM4cUtXUU9rNG9tb2lSbUdPZC85YUlTd0NBejZDOWpGY1JrY1IyWjZFSDRtamZmRzBIUHlyUUZveWZPZz09PC9TUD4=; cucg=1' \ + -H 'referer: https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fptrowbridge%5Fhc%2Dcompanies%5Fcom%2FDocuments%2FBackups' \ + -H 'sec-fetch-dest: iframe' \ + -H 'sec-fetch-mode: navigate' \ + -H 'sec-fetch-site: same-origin' \ + -H 'sec-gpc: 1' \ + -H 'service-worker-navigation-preload: true' \ + -H 'upgrade-insecure-requests: 1' \ + -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \ + --compressed --output //mnt/backup/hc/ubm.backup From 04ee4dc97ced52b4b08fba271b144a70feebd6e6 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 22 Sep 2022 16:25:30 +0000 Subject: [PATCH 23/41] update grab --- globals.sh | 15 +++++++++++++++ grab.sh | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 globals.sh diff --git a/globals.sh b/globals.sh new file mode 100755 index 0000000..37b2353 --- /dev/null +++ b/globals.sh @@ -0,0 +1,15 @@ +curl 'https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/download.aspx?UniqueId=3a885a13%2D7742%2D4ade%2D8efb%2D02298332da2b' \ + -H 'authority: hccompanies-my.sharepoint.com' \ + -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8' \ + -H 'accept-language: en-US,en;q=0.9' \ + -H 'cookie: MicrosoftApplicationsTelemetryFirstLaunchTime=1653311371691; MicrosoftApplicationsTelemetryDeviceId=a0610434-2a4e-5c2e-2c9b-b51ede5f92c1; ExcelWacDataCenter=PUS1; WacDataCenter=PUS1; rtFa=IdBNqEcPR1AjGrvv7SgQYjuC3opFgyf5Za4SSbG5swUmRTc4NEM0MkItMjkwMC00QTQyLUI3MzctMjA3N0U2NThFMzUzIzEzMzA4MTYwODEzNjkxODMxMCM5MURBNjZBMC1FMEEwLUQwMDAtNTUwOS1ERDcxNjcyQUFBMjgjUFRST1dCUklER0UlNDBIQy1DT01QQU5JRVMuQ09NCgvbSHzfO/7DBuCNA0ykejweiszYCu/9L1+nat9BE1ltqvGyBEYIhp8UxTAGTb3NyYBy3W6Daqf4SBd2X8yfuCkkWHMICjAvv1pyQeLrjQ482PKjEt1nER9dY23RBiyVTiLoXT8eja1IZtyFb1SfgjQRMwhTxK1rnJ4cAWnkp9AL1FTm/wklErgy4hWDMnrFxnlt8Scz9bfSMCpt/qMnp1Kif1iEdgrMCUa70e4p5CfqyetmLmCi3GM2WfrzJTkR3qckRNf+aXDO0kPthF7+zUagAlwDcTNe4+iwVgVG9ifCTafZKrBIPT0Npuu9U8rp5olVcJkqM3TR7e0zZrXfA5wAAAA=; SIMI=eyJzdCI6MH0=; cucg=1; FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+VjEyLDBoLmZ8bWVtYmVyc2hpcHwxMDAzM2ZmZjk0YTJiZjA2QGxpdmUuY29tLDAjLmZ8bWVtYmVyc2hpcHxwdHJvd2JyaWRnZUBoYy1jb21wYW5pZXMuY29tLDEzMjg4NzM3ODE5MDAwMDAwMCwxMzI4NjA2MjE4NTAwMDAwMDAsMTMzMDg3NjkzNzEyOTU2NjM0LDY2LjE5LjE4Ny4yLDMsZTc4NGM0MmItMjkwMC00YTQyLWI3MzctMjA3N2U2NThlMzUzLCw3ODY4ODkxYy0zZGVjLTQxYjgtYjNmMi0zM2Q1MDg0ZDg3ZTcsOTFkYTY2YTAtZTBhMC1kMDAwLTU1MDktZGQ3MTY3MmFhYTI4LGYyODI2N2EwLTQwN2UtZDAwMC04NjJlLWRlZWE0OTUwYzQyMSwsMCwxMzMwODM0MDk3MTI4MDA0MjIsMTMzMDg1OTY1NzEyODAwNDIyLCwsZXlKNGJYTmZZMk1pT2lKYlhDSkRVREZjSWwwaUxDSjRiWE5mYzNOdElqb2lNU0lzSW1GamNuTWlPaUpiWENKMWNtNDZkWE5sY2pweVpXZHBjM1JsY25ObFkzVnlhWFI1YVc1bWIxd2lYU0lzSW5CeVpXWmxjbkpsWkY5MWMyVnlibUZ0WlNJNklsQlVjbTkzWW5KcFpHZGxRRWhETFVOdmJYQmhibWxsY3k1amIyMGlMQ0oxZEdraU9pSnNaMHRYYzNGVE5HNVZkUzFhWWw5RFpGRTFPRUZCSW4wPSwxMzMwODE2NDQxMzY3NjIxNTYsMTMzMDgxNjA4MTIwMDAwMDAwLGZlZDQ2NzAyLTgxNzAtNGE0MS1hNTcyLWEwYmFhMmNkNTE4MywsLCwsLDAsLE1ub2RleTF4eGxyTWtORC83SDBYUXRDTXpmaE9CajJCcUorZjJxY3hOVjFDTWdnTjBXOCs5M0R2TERWY0Jmc3NUc05jem1ZaFkvN3JZL1VkUUhQMHZrVWQ1VW5saFRXUDdWRFd3NjJTU1lYMGFqVGg4SFpXZjhncFE4aEY4Q2YwUWtOSkpmS21RakpOMlZWcWhaN1JhN3JSWDBtZlZHVHgzMFgxK09KZ0Z5cnZBeVZITGd2SUwwTFJhd0hZSHdvQ0NERGxDZEFtU3JudHhKUGpLMXlYdldvcXBJMUxNdmdxL0laUklSa2lISk1IRzAyaW52ZDV6WDdBT2FSVE1nUXR6VEZrRUl0ZzI2S0ZvRmdKQlQzVzAxR1FyV2ExemxFQUxOOE5YOWQwV3AwajVab3p5VE5id3psbkRTZU5Ba0Z3d0d4M2poc0ZGdVNiTG9yUXNJUWZ1UT09PC9TUD4=; KillSwitchOverrides_enableKillSwitches=; KillSwitchOverrides_disableKillSwitches=' \ + -H 'if-none-match: "{3A885A13-7742-4ADE-8EFB-02298332DA2B},278"' \ + -H 'referer: https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/onedrive.aspx?login_hint=PTrowbridge%40HC%2DCompanies%2Ecom&id=%2Fpersonal%2Fptrowbridge%5Fhc%2Dcompanies%5Fcom%2FDocuments%2FBackups' \ + -H 'sec-fetch-dest: iframe' \ + -H 'sec-fetch-mode: navigate' \ + -H 'sec-fetch-site: same-origin' \ + -H 'sec-gpc: 1' \ + -H 'service-worker-navigation-preload: true' \ + -H 'upgrade-insecure-requests: 1' \ + -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \ + --compressed --output ubm_globals.backup diff --git a/grab.sh b/grab.sh index 75076fa..3cffa3b 100755 --- a/grab.sh +++ b/grab.sh @@ -13,4 +13,4 @@ curl 'https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_co -H 'service-worker-navigation-preload: true' \ -H 'upgrade-insecure-requests: 1' \ -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \ - --compressed --output //mnt/backup/hc/ubm.backup + --compressed --output ubm.backup From 78876b1fe9b7bd57c12ac7f3547a07d8928c0161 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 13 Mar 2023 16:46:45 -0400 Subject: [PATCH 24/41] alias to list files with open vim buffers and execute them with psql --- .bashrc | 12 ++++++++++-- .vimrc | 5 +++-- setup.sh | 8 ++++---- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index 59d14f4..49f46a0 100644 --- a/.bashrc +++ b/.bashrc @@ -120,10 +120,14 @@ EDITOR=/usr/bin/vim.basic PAGER="less" LESS="-S" export IPTOKEN="6ac0a563fc06ab" -export PG="psql -U ptrowbridge -d ubm -p 5030 -h usmidlnx01" -export PGD="psql -U ptrowbridge -d ubm -p 5432 -h usmidlnx01" +export PG="psql -U ptrowbridge -d ubm -p 5432 -h usmidsap01" export MS="sqlcmd.exe -S mid-sql02 -i" export PSQL_PAGER="pspg" +alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +#alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r realpath" +alias osw="lsof +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +alias xpg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias xsw="lsof +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then GIT_PROMPT_ONLY_IN_REPO=1 @@ -145,3 +149,7 @@ export PATH=$PATH:"$DENO_INSTALL/bin:$PATH" eval `keychain --eval id_rsa` bind 'set bell-style none' + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion diff --git a/.vimrc b/.vimrc index b5a59de..826cafe 100644 --- a/.vimrc +++ b/.vimrc @@ -26,7 +26,7 @@ let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab set mouse=a set nowrap -colorscheme ron +colorscheme darkblue syntax on set splitright set splitbelow @@ -39,7 +39,8 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' +let g:airline_theme = 'violet' +let g:airline_solarized_bg='dark' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 "----markdown folding------------ diff --git a/setup.sh b/setup.sh index 8d61664..2eb193d 100755 --- a/setup.sh +++ b/setup.sh @@ -16,7 +16,7 @@ then else echo "installing curl..." apt update -q4 - apt install curl -y + sudo apt install curl -y fi #----------vim----------- @@ -26,7 +26,7 @@ then else echo "installing vim..." apt update -q4 - apt install vim -y + sudo apt install vim -y fi #----------tmux----------- @@ -36,7 +36,7 @@ then else echo "installing tmux..." apt update -q4 - apt install tmux -y + sudo apt install tmux -y fi #----------pspg----------- @@ -46,7 +46,7 @@ then else echo "installing pspg..." apt update -q4 - apt install pspg -y + sudo apt install pspg -y fi #------------------------------------------------ create the resore directory if it doesn't already exist-------------------------------------------------- From 95bcbd543b4765e29935c81fefc9f25cfa5d0783 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 24 Mar 2023 20:55:52 -0400 Subject: [PATCH 25/41] move stuff to bashrc_local --- .bashrc | 24 ++++++++++++++---------- setup.sh | 13 +++++++++++++ 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/.bashrc b/.bashrc index a9a41cd..803bce9 100644 --- a/.bashrc +++ b/.bashrc @@ -91,6 +91,7 @@ fi alias ll='ls -alFh' alias la='ls -A' alias l='ls -CF' +alias lb='lsblk -o+FSAVAIL,FSUSED,FSUSE%,MODEL,PARTTYPENAME,STATE' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert @@ -118,16 +119,19 @@ fi EDITOR=/usr/bin/vim.basic PAGER="less" -LESS="-S" -export PG="psql -U ptrowbridge -d ubm -p 54329 -h hptrow.me" -export PGD="psql -U ptrowbridge -d ubm -p 54339 -h hptrow.me" +lESS="-S" +export PG="psql -U -d -p -h " export PSQL_PAGER="pspg" -# GOPATH=$HOME/go -# function _update_ps1() { -# PS1="$($GOPATH/bin/powerline-go -error $?)" -# } -# if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then -# PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" -# fi +# Set config variables first +GIT_PROMPT_ONLY_IN_REPO=1 +GIT_PROMPT_FETCH_REMOTE_STATUS=0 + +# Load the gitprompt script +if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then +source "$HOME/.bash-git-prompt/gitprompt.sh" +fi + +#---------point to local--------------- +[ -f ~/.bashrc_local ] && source ~/.bashrc_local diff --git a/setup.sh b/setup.sh index 8d61664..0dd3d4d 100755 --- a/setup.sh +++ b/setup.sh @@ -171,3 +171,16 @@ then esac done fi + +while true; do + read -p "do you want to install git-bash-prompt?" yn + case $yn in + [Yy]* ) + git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1 + break;; + [Nn]* ) + break;; + * ) echo "Please answer yes or no.";; + esac +done + From 16cb1b09830d3bad43b5dfe0a3201c8eb044d94f Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 24 Mar 2023 20:58:18 -0400 Subject: [PATCH 26/41] updates --- .gitignore | 1 + .psqlrc | 1 + .tmux.conf | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 1377554..1b0812c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.swp +.bashrc_local diff --git a/.psqlrc b/.psqlrc index 12d875d..6fe6233 100644 --- a/.psqlrc +++ b/.psqlrc @@ -1,3 +1,4 @@ -- Switch pagers with :x and :xx commands \set x '\\setenv PAGER ''less -S''' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' +\timing diff --git a/.tmux.conf b/.tmux.conf index ed27168..aa216f6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,6 +5,8 @@ bind -r j select-pane -D # move down bind -r k select-pane -U # move up bind -r l select-pane -R # move right set -g mouse on +bind -n C-PgDn next-window +bind -n C-PgUp previous-window #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' From d3842431cce4b5286da5134a9e1b1b459cd7b40e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 24 Mar 2023 21:00:12 -0400 Subject: [PATCH 27/41] updates --- .gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitconfig b/.gitconfig index 9bd7790..9433a4a 100644 --- a/.gitconfig +++ b/.gitconfig @@ -14,3 +14,9 @@ pretty = format:'%C(yellow)%h %Cred%ad %Cblue%an %Cgreen%d %Creset%s' [diff] tool = vimdiff +[safe] + directory = /var/www/kimai2 + directory = /var/www/html/resume/ + directory = /var/www/html/resume +[pull] + rebase = false From fa3bf6ff377735d6066735eec5f99a9163558063 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 24 Mar 2023 21:52:36 -0400 Subject: [PATCH 28/41] point to directory --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 803bce9..d4b9e85 100644 --- a/.bashrc +++ b/.bashrc @@ -134,4 +134,4 @@ source "$HOME/.bash-git-prompt/gitprompt.sh" fi #---------point to local--------------- -[ -f ~/.bashrc_local ] && source ~/.bashrc_local +[ -f ~/dot_config/.bashrc_local ] && source ~/dot_config/.bashrc_local From 33276ce8e9095da895a13ba7eae574890fb9486f Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 24 Mar 2023 22:28:59 -0400 Subject: [PATCH 29/41] add aliases to list open files and exec them --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index d4b9e85..fb9c2df 100644 --- a/.bashrc +++ b/.bashrc @@ -92,6 +92,11 @@ alias ll='ls -alFh' alias la='ls -A' alias l='ls -CF' alias lb='lsblk -o+FSAVAIL,FSUSED,FSUSE%,MODEL,PARTTYPENAME,STATE' +alias opg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +#alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r realpath" +alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +alias xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias xsw="lsof 2>/dev/null +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert From c9440c40edd79ffa0e4d6c987538de828ee0b2a8 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sun, 2 Apr 2023 00:57:39 -0400 Subject: [PATCH 30/41] updates --- .bashrc | 2 +- .tmux.conf | 2 ++ .vimrc | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.bashrc b/.bashrc index 803bce9..d4b9e85 100644 --- a/.bashrc +++ b/.bashrc @@ -134,4 +134,4 @@ source "$HOME/.bash-git-prompt/gitprompt.sh" fi #---------point to local--------------- -[ -f ~/.bashrc_local ] && source ~/.bashrc_local +[ -f ~/dot_config/.bashrc_local ] && source ~/dot_config/.bashrc_local diff --git a/.tmux.conf b/.tmux.conf index aa216f6..b8602ac 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -14,3 +14,5 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' + +set-option -g default-path ~ diff --git a/.vimrc b/.vimrc index 9ba8895..3f3cf10 100644 --- a/.vimrc +++ b/.vimrc @@ -24,7 +24,7 @@ map h map l let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab -colorscheme desert +colorscheme ron syntax on set splitright set splitbelow @@ -37,9 +37,9 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' -let g:tmuxline_powerline_separators = 0 -let g:airline_powerline_fonts = 0 +let g:airline_theme = 'violet' +let g:tmuxline_powerline_separators = 1 +let g:airline_powerline_fonts = 1 let mapleader = ";" set showcmd map a :bn From 6ffa44ddf2c29007ffbf50e1f81c6f12dcf1a34f Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 4 Apr 2023 10:28:29 -0400 Subject: [PATCH 31/41] nvim alias and tmux theme --- .bashrc | 3 +++ .tmux.conf | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index fb9c2df..77d5283 100644 --- a/.bashrc +++ b/.bashrc @@ -97,6 +97,9 @@ alias opg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/ alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" alias xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias xsw="lsof 2>/dev/null +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias nv='~/nvim-linux64/bin/nvim' +alias gs='git status' +alias gd='git difftool' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert diff --git a/.tmux.conf b/.tmux.conf index b8602ac..7ce833e 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -11,8 +11,21 @@ bind -n C-PgUp previous-window #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'jimeh/tmux-themepack' +set -g @themepack 'powerline/default/cyan' +#-----------------------nova--------------------------------------------- +#set -g @plugin 'o0th/tmux-nova' +#set -g @nova-nerdfonts true +#set -g @nova-nerdfonts-left  +#set -g @nova-nerdfonts-right  +#set -g @nova-segment-mode "#{?client_prefix,Ω,ω}" +#set -g @nova-segment-mode-colors "#50fa7b #282a36" +#set -g @nova-segment-whoami "#(whoami)@#h" +#set -g @nova-segment-whoami-colors "#50fa7b #282a36" +#set -g @nova-pane "#I#{?pane_in_mode,  #{pane_mode},}  #W" +#set -g @nova-rows 0 +#set -g @nova-segments-0-left "mode" +#set -g @nova-segments-0-right "whoami" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' - -set-option -g default-path ~ From f13e6c0788c81078e0491d54e45e92f4be35dcac Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 4 Apr 2023 10:32:58 -0400 Subject: [PATCH 32/41] usmidsap01 current state --- .bashrc | 26 ++++++++++++++++++++++++-- .gitconfig | 5 ++++- .psqlrc | 1 + .tmux.conf | 3 +++ .vimrc | 24 ++++++++++++++++++++---- 5 files changed, 52 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index a9a41cd..5469be0 100644 --- a/.bashrc +++ b/.bashrc @@ -91,6 +91,8 @@ fi alias ll='ls -alFh' alias la='ls -A' alias l='ls -CF' +#alias lb='lsblk -o+FSTYPE,FSAVAIL,FSUSED,FSUSE%,MODEL,UUID' +alias lb='lsblk -o+FSTYPE,FSAVAIL,FSUSED,FSUSE%,MODEL' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert @@ -119,8 +121,7 @@ fi EDITOR=/usr/bin/vim.basic PAGER="less" LESS="-S" -export PG="psql -U ptrowbridge -d ubm -p 54329 -h hptrow.me" -export PGD="psql -U ptrowbridge -d ubm -p 54339 -h hptrow.me" +export PG="psql -U ptrowbridge -d ubm -p 5432 -h 10.56.60.254" export PSQL_PAGER="pspg" # GOPATH=$HOME/go @@ -130,4 +131,25 @@ export PSQL_PAGER="pspg" # if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then # PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" # fi +if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then + GIT_PROMPT_ONLY_IN_REPO=1 + source $HOME/.bash-git-prompt/gitprompt.sh +fi +export JAVA_HOME=/opt/jdk-19.0.1 +export PATH=$PATH:$JAVA_HOME/bin +export PATH=$PATH:/opt/gradle/gradle-7.6/bin +export RUNNER_PATH=/opt/runner/ +export DB2PW=qqqx53@048 +export PGPW=qqqx53!030 + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +#alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r realpath" +alias osw="lsof +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +alias xpg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias xsw="lsof +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias gl="git log --graph" diff --git a/.gitconfig b/.gitconfig index 9bd7790..3eb4851 100644 --- a/.gitconfig +++ b/.gitconfig @@ -2,7 +2,7 @@ email = paul@hptrow.me name = Paul Trowbridge [core] - autocrlf = false + autocrlf = true editor = vim [push] default = simple @@ -14,3 +14,6 @@ pretty = format:'%C(yellow)%h %Cred%ad %Cblue%an %Cgreen%d %Creset%s' [diff] tool = vimdiff +[safe] + directory = /opt/forecast_api/ + directory = /opt/forecast_api diff --git a/.psqlrc b/.psqlrc index 12d875d..666c846 100644 --- a/.psqlrc +++ b/.psqlrc @@ -1,3 +1,4 @@ -- Switch pagers with :x and :xx commands \set x '\\setenv PAGER ''less -S''' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' +\timing on diff --git a/.tmux.conf b/.tmux.conf index ed27168..4d3ea83 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -9,6 +9,9 @@ set -g mouse on #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'jimeh/tmux-themepack' +set -g @tmux-themepack 'powerline/default/cyan' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' + diff --git a/.vimrc b/.vimrc index 9ba8895..765325d 100644 --- a/.vimrc +++ b/.vimrc @@ -24,7 +24,8 @@ map h map l let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab -colorscheme desert +"colorscheme ron +colorscheme pablo syntax on set splitright set splitbelow @@ -37,9 +38,9 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' -let g:tmuxline_powerline_separators = 0 -let g:airline_powerline_fonts = 0 +let g:airline_theme = 'sierra' +let g:tmuxline_powerline_separators = 1 +let g:airline_powerline_fonts = 1 let mapleader = ";" set showcmd map a :bn @@ -59,9 +60,24 @@ set mouse=a set visualbell set t_vb= nnoremap \\ :noh " Clear higlighting +set nowrap "nnoremap :noh " Resize windows nnoremap 5+ nnoremap 5- nnoremap 10> nnoremap 10< +"----------funcion to comment out every line except current--------------- +function! CommentOutUnselectedLines() + let l:highlighted_lines = sort(getpos("'<")[1], getpos("'>")[1]) + let l:line_count = line("$") + let l:comment_char = "--" + + for l:line_number in range(1, l:line_count) + if index(l:highlighted_lines, l:line_number) == -1 + execute l:line_number . "s/^/" . l:comment_char . "/" + endif + endfor +endfunction + +nnoremap cc :call CommentOutUnselectedLines() From 1f69c5ae8c1ed31c60707936c5d920a4f4c387c4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 4 Apr 2023 12:45:00 -0400 Subject: [PATCH 33/41] update --- .bashrc | 21 +++++---------------- .gitignore | 1 + .tmux.conf | 18 +++++++++++++++--- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.bashrc b/.bashrc index 49f46a0..c8ef7f8 100644 --- a/.bashrc +++ b/.bashrc @@ -128,28 +128,17 @@ alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | alias osw="lsof +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" alias xpg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias xsw="lsof +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias ons='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)"' +alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % | pspg' +alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then GIT_PROMPT_ONLY_IN_REPO=1 source $HOME/.bash-git-prompt/gitprompt.sh fi -#GOPATH=$HOME/go -#function _update_ps1() { -# #PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)" -# PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" -#} -#if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then -# PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" -#fi - -export DENO_INSTALL="/home/ptrowbridge/.deno" -export PATH=$PATH:"$DENO_INSTALL/bin:$PATH" - -eval `keychain --eval id_rsa` bind 'set bell-style none' -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +[ -f ~/dot_config/.bashrc_local ] && source ~/dot_config/.bashrc_local diff --git a/.gitignore b/.gitignore index 1377554..1b0812c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.swp +.bashrc_local diff --git a/.tmux.conf b/.tmux.conf index 5a99965..1ba9493 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -9,9 +9,21 @@ set -g mouse on #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'jimeh/tmux-themepack' +set -g @themepack 'powerline/default/purple' +#-----------------------nova--------------------------------------------- +#set -g @plugin 'o0th/tmux-nova' +#set -g @nova-nerdfonts true +#set -g @nova-nerdfonts-left  +#set -g @nova-nerdfonts-right  +#set -g @nova-segment-mode "#{?client_prefix,Ω,ω}" +#set -g @nova-segment-mode-colors "#50fa7b #282a36" +#set -g @nova-segment-whoami "#(whoami)@#h" +#set -g @nova-segment-whoami-colors "#50fa7b #282a36" +#set -g @nova-pane "#I#{?pane_in_mode,  #{pane_mode},}  #W" +#set -g @nova-rows 0 +#set -g @nova-segments-0-left "mode" +#set -g @nova-segments-0-right "whoami" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' - -# mouse support -set -g mouse on From a64d47468dd661dde2e22d1872fda0840e8b3bb6 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 4 Apr 2023 12:54:31 -0400 Subject: [PATCH 34/41] move aliases --- .bashrc | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.bashrc b/.bashrc index c8ef7f8..62335b4 100644 --- a/.bashrc +++ b/.bashrc @@ -91,6 +91,14 @@ fi alias ll='ls -alFh' alias la='ls -A' alias l='ls -CF' +alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +#alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r realpath" +alias osw="lsof +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" +alias xpg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias xsw="lsof +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias ons='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)"' +alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % | pspg' +alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert @@ -119,18 +127,7 @@ fi EDITOR=/usr/bin/vim.basic PAGER="less" LESS="-S" -export IPTOKEN="6ac0a563fc06ab" -export PG="psql -U ptrowbridge -d ubm -p 5432 -h usmidsap01" -export MS="sqlcmd.exe -S mid-sql02 -i" export PSQL_PAGER="pspg" -alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" -#alias opg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r realpath" -alias osw="lsof +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" -alias xpg="lsof +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" -alias xsw="lsof +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" -alias ons='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)"' -alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % | pspg' -alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then GIT_PROMPT_ONLY_IN_REPO=1 From ead0f980ccdb75d7a3297d9d34f094505f8223da Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 4 Apr 2023 13:04:25 -0400 Subject: [PATCH 35/41] drop curls --- globals.sh | 15 --------------- grab.sh | 16 ---------------- 2 files changed, 31 deletions(-) delete mode 100755 globals.sh delete mode 100755 grab.sh diff --git a/globals.sh b/globals.sh deleted file mode 100755 index 37b2353..0000000 --- a/globals.sh +++ /dev/null @@ -1,15 +0,0 @@ -curl 'https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/download.aspx?UniqueId=3a885a13%2D7742%2D4ade%2D8efb%2D02298332da2b' \ - -H 'authority: hccompanies-my.sharepoint.com' \ - -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8' \ - -H 'accept-language: en-US,en;q=0.9' \ - -H 'cookie: MicrosoftApplicationsTelemetryFirstLaunchTime=1653311371691; MicrosoftApplicationsTelemetryDeviceId=a0610434-2a4e-5c2e-2c9b-b51ede5f92c1; ExcelWacDataCenter=PUS1; WacDataCenter=PUS1; rtFa=IdBNqEcPR1AjGrvv7SgQYjuC3opFgyf5Za4SSbG5swUmRTc4NEM0MkItMjkwMC00QTQyLUI3MzctMjA3N0U2NThFMzUzIzEzMzA4MTYwODEzNjkxODMxMCM5MURBNjZBMC1FMEEwLUQwMDAtNTUwOS1ERDcxNjcyQUFBMjgjUFRST1dCUklER0UlNDBIQy1DT01QQU5JRVMuQ09NCgvbSHzfO/7DBuCNA0ykejweiszYCu/9L1+nat9BE1ltqvGyBEYIhp8UxTAGTb3NyYBy3W6Daqf4SBd2X8yfuCkkWHMICjAvv1pyQeLrjQ482PKjEt1nER9dY23RBiyVTiLoXT8eja1IZtyFb1SfgjQRMwhTxK1rnJ4cAWnkp9AL1FTm/wklErgy4hWDMnrFxnlt8Scz9bfSMCpt/qMnp1Kif1iEdgrMCUa70e4p5CfqyetmLmCi3GM2WfrzJTkR3qckRNf+aXDO0kPthF7+zUagAlwDcTNe4+iwVgVG9ifCTafZKrBIPT0Npuu9U8rp5olVcJkqM3TR7e0zZrXfA5wAAAA=; SIMI=eyJzdCI6MH0=; cucg=1; FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+VjEyLDBoLmZ8bWVtYmVyc2hpcHwxMDAzM2ZmZjk0YTJiZjA2QGxpdmUuY29tLDAjLmZ8bWVtYmVyc2hpcHxwdHJvd2JyaWRnZUBoYy1jb21wYW5pZXMuY29tLDEzMjg4NzM3ODE5MDAwMDAwMCwxMzI4NjA2MjE4NTAwMDAwMDAsMTMzMDg3NjkzNzEyOTU2NjM0LDY2LjE5LjE4Ny4yLDMsZTc4NGM0MmItMjkwMC00YTQyLWI3MzctMjA3N2U2NThlMzUzLCw3ODY4ODkxYy0zZGVjLTQxYjgtYjNmMi0zM2Q1MDg0ZDg3ZTcsOTFkYTY2YTAtZTBhMC1kMDAwLTU1MDktZGQ3MTY3MmFhYTI4LGYyODI2N2EwLTQwN2UtZDAwMC04NjJlLWRlZWE0OTUwYzQyMSwsMCwxMzMwODM0MDk3MTI4MDA0MjIsMTMzMDg1OTY1NzEyODAwNDIyLCwsZXlKNGJYTmZZMk1pT2lKYlhDSkRVREZjSWwwaUxDSjRiWE5mYzNOdElqb2lNU0lzSW1GamNuTWlPaUpiWENKMWNtNDZkWE5sY2pweVpXZHBjM1JsY25ObFkzVnlhWFI1YVc1bWIxd2lYU0lzSW5CeVpXWmxjbkpsWkY5MWMyVnlibUZ0WlNJNklsQlVjbTkzWW5KcFpHZGxRRWhETFVOdmJYQmhibWxsY3k1amIyMGlMQ0oxZEdraU9pSnNaMHRYYzNGVE5HNVZkUzFhWWw5RFpGRTFPRUZCSW4wPSwxMzMwODE2NDQxMzY3NjIxNTYsMTMzMDgxNjA4MTIwMDAwMDAwLGZlZDQ2NzAyLTgxNzAtNGE0MS1hNTcyLWEwYmFhMmNkNTE4MywsLCwsLDAsLE1ub2RleTF4eGxyTWtORC83SDBYUXRDTXpmaE9CajJCcUorZjJxY3hOVjFDTWdnTjBXOCs5M0R2TERWY0Jmc3NUc05jem1ZaFkvN3JZL1VkUUhQMHZrVWQ1VW5saFRXUDdWRFd3NjJTU1lYMGFqVGg4SFpXZjhncFE4aEY4Q2YwUWtOSkpmS21RakpOMlZWcWhaN1JhN3JSWDBtZlZHVHgzMFgxK09KZ0Z5cnZBeVZITGd2SUwwTFJhd0hZSHdvQ0NERGxDZEFtU3JudHhKUGpLMXlYdldvcXBJMUxNdmdxL0laUklSa2lISk1IRzAyaW52ZDV6WDdBT2FSVE1nUXR6VEZrRUl0ZzI2S0ZvRmdKQlQzVzAxR1FyV2ExemxFQUxOOE5YOWQwV3AwajVab3p5VE5id3psbkRTZU5Ba0Z3d0d4M2poc0ZGdVNiTG9yUXNJUWZ1UT09PC9TUD4=; KillSwitchOverrides_enableKillSwitches=; KillSwitchOverrides_disableKillSwitches=' \ - -H 'if-none-match: "{3A885A13-7742-4ADE-8EFB-02298332DA2B},278"' \ - -H 'referer: https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/onedrive.aspx?login_hint=PTrowbridge%40HC%2DCompanies%2Ecom&id=%2Fpersonal%2Fptrowbridge%5Fhc%2Dcompanies%5Fcom%2FDocuments%2FBackups' \ - -H 'sec-fetch-dest: iframe' \ - -H 'sec-fetch-mode: navigate' \ - -H 'sec-fetch-site: same-origin' \ - -H 'sec-gpc: 1' \ - -H 'service-worker-navigation-preload: true' \ - -H 'upgrade-insecure-requests: 1' \ - -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \ - --compressed --output ubm_globals.backup diff --git a/grab.sh b/grab.sh deleted file mode 100755 index 3cffa3b..0000000 --- a/grab.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -curl 'https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/download.aspx?UniqueId=ece6a9ec%2D750b%2D44a1%2D8e77%2Dc5c84625949c' \ - -H 'authority: hccompanies-my.sharepoint.com' \ - -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8' \ - -H 'accept-language: en-US,en;q=0.9' \ - -H 'cookie: MicrosoftApplicationsTelemetryFirstLaunchTime=1653311371691; MicrosoftApplicationsTelemetryDeviceId=a0610434-2a4e-5c2e-2c9b-b51ede5f92c1; ExcelWacDataCenter=PUS1; WacDataCenter=PUS1; KillSwitchOverrides_enableKillSwitches=; KillSwitchOverrides_disableKillSwitches=; nSGt-542D99B9054F514669678DDFE32E0756DC09EDEB6CD549BB=gYEwOEFFMTEwMzU5M0YwMDAzOENENDY2Qjc1NTA0NUU2NzI2NTQ0REFEODM5NjcwRDUzMDU0MkQ5OUI5MDU0RjUxNDY2OTY3OERERkUzMkUwNzU2REMwOUVERUI2Q0Q1NDlCQhIxMzMwODE2MTQxMTkwNzczNDUdaGNjb21wYW5pZXMtbXkuc2hhcmVwb2ludC5jb20CjaE83VUMs1yz9clsr1Lzs0o0E9Y75lS13NO7Ks0+VUJd7ewlCfUn1k+AO+/jrEm6J/hZT0FsE3g62ZMldwZZelQ5KqlRJc4cOXShAKdvlKDcnEz3CVScTWcyqHoUnJt+J7+TV5Oa3SQlIgi27VXitUV0PKsN4GnjDFTg+9B8Asv9lqCRAfH745b4YFTyg5zsyLKERLccaNmlVr/6pVX3107VmpPFzEi2B+DpW8RVc92RBr20ZCya+4j/rUME3GkEtCJQbHkDTawlWzMBFwHCAFAQ+oeirQywqqq4Qmbikpbw1ZbEuxGFzwET2TjcGIoAREPZW0fjRpImZKQIDmj/lQAAAA==; rtFa=IdBNqEcPR1AjGrvv7SgQYjuC3opFgyf5Za4SSbG5swUmRTc4NEM0MkItMjkwMC00QTQyLUI3MzctMjA3N0U2NThFMzUzIzEzMzA4MTYwODEzNjkxODMxMCM5MURBNjZBMC1FMEEwLUQwMDAtNTUwOS1ERDcxNjcyQUFBMjgjUFRST1dCUklER0UlNDBIQy1DT01QQU5JRVMuQ09NCgvbSHzfO/7DBuCNA0ykejweiszYCu/9L1+nat9BE1ltqvGyBEYIhp8UxTAGTb3NyYBy3W6Daqf4SBd2X8yfuCkkWHMICjAvv1pyQeLrjQ482PKjEt1nER9dY23RBiyVTiLoXT8eja1IZtyFb1SfgjQRMwhTxK1rnJ4cAWnkp9AL1FTm/wklErgy4hWDMnrFxnlt8Scz9bfSMCpt/qMnp1Kif1iEdgrMCUa70e4p5CfqyetmLmCi3GM2WfrzJTkR3qckRNf+aXDO0kPthF7+zUagAlwDcTNe4+iwVgVG9ifCTafZKrBIPT0Npuu9U8rp5olVcJkqM3TR7e0zZrXfA5wAAAA=; SIMI=eyJzdCI6MH0=; FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+VjEyLDBoLmZ8bWVtYmVyc2hpcHwxMDAzM2ZmZjk0YTJiZjA2QGxpdmUuY29tLDAjLmZ8bWVtYmVyc2hpcHxwdHJvd2JyaWRnZUBoYy1jb21wYW5pZXMuY29tLDEzMjg4NzM3ODE5MDAwMDAwMCwxMzI4NjA2MjE4NTAwMDAwMDAsMTMzMDg1OTI4MTM2NzYyMTU2LDY2LjE5LjE4Ny4yLDMsZTc4NGM0MmItMjkwMC00YTQyLWI3MzctMjA3N2U2NThlMzUzLCw3ODY4ODkxYy0zZGVjLTQxYjgtYjNmMi0zM2Q1MDg0ZDg3ZTcsOTFkYTY2YTAtZTBhMC1kMDAwLTU1MDktZGQ3MTY3MmFhYTI4LDkxZGE2NmEwLWUwYTAtZDAwMC01NTA5LWRkNzE2NzJhYWEyOCwsMCwxMzMwODI0NzIxMzYxMzcwMjksMTMzMDg0MjAwMTM2MTM3MDI5LCwsZXlKNGJYTmZZMk1pT2lKYlhDSkRVREZjSWwwaUxDSjRiWE5mYzNOdElqb2lNU0lzSW1GamNuTWlPaUpiWENKMWNtNDZkWE5sY2pweVpXZHBjM1JsY25ObFkzVnlhWFI1YVc1bWIxd2lYU0lzSW5CeVpXWmxjbkpsWkY5MWMyVnlibUZ0WlNJNklsQlVjbTkzWW5KcFpHZGxRRWhETFVOdmJYQmhibWxsY3k1amIyMGlMQ0oxZEdraU9pSnNaMHRYYzNGVE5HNVZkUzFhWWw5RFpGRTFPRUZCSW4wPSwxMzMwODE2NDQxMzY3NjIxNTYsMTMzMDgxNjA4MTIwMDAwMDAwLGZlZDQ2NzAyLTgxNzAtNGE0MS1hNTcyLWEwYmFhMmNkNTE4MywsLCwsLDAsLEpickw5MDg1SmVHRnFpWEdIUnc2aXk5K1h5Ky9JNzVVUmhiNlB2VHExclEyaW9WRnZGd1g0a2J1WFJzUGRWLzVIa3MxdEVTcVNUak1ra2VKbHJ2VjE1MWNVbWF1Vk1NQVRSd2tHanFUSFBaSTg5Rk5aVS8vQkpMUGdKejlueXVKWEgvbytvaUlzUDJnMjJUR1RnQmJzRlhSa2I5N29hek1nTk4xR3FJdEhDQXh4TUlFRWRnTndJTGdzQ0tIRWlPWWtJWFoyS2Z6ZFVwZkp1dnFBTFI1ZW5SWkJ2TG1teVJubmJ6Q2dRa2REa2R0cXJYeHJFeG5EalhuRnNjcllRaEpYTk9XSUVqVldFdnEvZUp3Vm8yN0RTeUlrSkM4cUtXUU9rNG9tb2lSbUdPZC85YUlTd0NBejZDOWpGY1JrY1IyWjZFSDRtamZmRzBIUHlyUUZveWZPZz09PC9TUD4=; cucg=1' \ - -H 'referer: https://hccompanies-my.sharepoint.com/personal/ptrowbridge_hc-companies_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fptrowbridge%5Fhc%2Dcompanies%5Fcom%2FDocuments%2FBackups' \ - -H 'sec-fetch-dest: iframe' \ - -H 'sec-fetch-mode: navigate' \ - -H 'sec-fetch-site: same-origin' \ - -H 'sec-gpc: 1' \ - -H 'service-worker-navigation-preload: true' \ - -H 'upgrade-insecure-requests: 1' \ - -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \ - --compressed --output ubm.backup From 7d0528f634c203827c3886640e9306903a88fdde Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 7 Apr 2023 09:29:01 -0400 Subject: [PATCH 36/41] create a git log alias, and remove tmuxline from vim --- .bashrc | 1 + .vimrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ea7e3f7..7ba4f62 100644 --- a/.bashrc +++ b/.bashrc @@ -102,6 +102,7 @@ alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' alias nv='~/nvim-linux64/bin/nvim' alias gs='git status' alias gd='git difftool' +alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert diff --git a/.vimrc b/.vimrc index 826cafe..655465b 100644 --- a/.vimrc +++ b/.vimrc @@ -9,7 +9,7 @@ Plugin 'gmarik/Vundle.vim' Plugin 'vim-airline/vim-airline' Plugin 'kien/ctrlp.vim' Plugin 'scrooloose/nerdtree' -Plugin 'edkolev/tmuxline.vim' +"Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' Plugin 'leafgarland/typescript-vim' Plugin 'peitalin/vim-jsx-typescript' From 7e1380cee3e8952bb1edf0001593c927b56bc3be Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 10 Apr 2023 09:13:21 -0400 Subject: [PATCH 37/41] dont pipe to paper --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 313e2fc..95ecb16 100644 --- a/.bashrc +++ b/.bashrc @@ -98,7 +98,7 @@ alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.sw alias xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias xsw="lsof 2>/dev/null +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias ons='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)"' -alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % | pspg' +alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f %' alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' alias nv='~/nvim-linux64/bin/nvim' alias gs='git status' From c76363a2ec39a47ba63c25b39bb3ee18e5d72740 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 11 Apr 2023 08:57:47 -0400 Subject: [PATCH 38/41] dont pipe to pager --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 7ba4f62..bfa6248 100644 --- a/.bashrc +++ b/.bashrc @@ -97,10 +97,10 @@ alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.sw alias xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias xsw="lsof 2>/dev/null +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias ons='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)"' -alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % | pspg' +alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | tr "%" "/" | sed "s/\\.swp$//" | grep "$(pwd)" | fzf | xargs -I % $PG -f % ' alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' alias nv='~/nvim-linux64/bin/nvim' -alias gs='git status' +alias gs='git status -s' alias gd='git difftool' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' From b7c644bcca2e1dc5c303056fb3e8a1edcf88b573 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 11 Apr 2023 09:44:32 -0400 Subject: [PATCH 39/41] git aliases --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index bfa6248..0a6b34d 100644 --- a/.bashrc +++ b/.bashrc @@ -101,6 +101,8 @@ alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' alias nv='~/nvim-linux64/bin/nvim' alias gs='git status -s' +alias ga='git add .' +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"' From 94c6854b3fcf87030f01a6ec7a8346a17c82a956 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 11 Apr 2023 11:15:18 -0400 Subject: [PATCH 40/41] create local template --- .bashrc_local_example | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .bashrc_local_example diff --git a/.bashrc_local_example b/.bashrc_local_example new file mode 100644 index 0000000..58d870c --- /dev/null +++ b/.bashrc_local_example @@ -0,0 +1,9 @@ +#export IPTOKEN= +#export PG="psql -U ptrowbridge -d ubm -p 5432 -h usmidsap01" +#export MS="sqlcmd.exe -S mid-sql02 -i" +#export JAVA_HOME=/opt/jdk-19.0.1 +#export PATH=$PATH:$JAVA_HOME/bin +#export PATH=$PATH:/opt/gradle/gradle-7.6/bin +#export RUNNER_PATH=/opt/runner/ +#export DB2PW= +#export PGPW= From 9bf8ff35a71518ca0cddbcdf802c6e74915f68d0 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 11 Apr 2023 11:36:20 -0400 Subject: [PATCH 41/41] convert line endings to LF --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 77c9c7f..6df2e20 100644 --- a/.gitconfig +++ b/.gitconfig @@ -2,7 +2,7 @@ email = paul@hptrow.me name = Paul Trowbridge [core] - autocrlf = true + autocrlf = input editor = vim [push] default = simple