Compare commits

...

5 Commits

Author SHA1 Message Date
f990d4cd91 merge clean 2023-04-11 11:27:56 -04:00
94c6854b3f create local template 2023-04-11 11:15:18 -04:00
7e1380cee3 dont pipe to paper 2023-04-10 09:13:21 -04:00
064ef8cdb2 merge hc 2023-04-07 21:56:17 -04:00
f13e6c0788 usmidsap01 current state 2023-04-04 10:32:58 -04:00
6 changed files with 18 additions and 4 deletions

View File

@ -91,7 +91,8 @@ fi
alias ll='ls -alFh' alias ll='ls -alFh'
alias la='ls -A' alias la='ls -A'
alias l='ls -CF' alias l='ls -CF'
alias lb='lsblk -o+FSAVAIL,FSUSED,FSUSE%,MODEL,PARTTYPENAME,STATE' #alias lb='lsblk -o+FSAVAIL,FSUSED,FSUSE%,MODEL,PARTTYPENAME,STATE'
alias lb='lsblk -o+FSTYPE,FSAVAIL,FSUSED,FSUSE%,MODEL'
alias opg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" alias opg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'"
alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" 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 xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f"

9
.bashrc_local_example Normal file
View File

@ -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=

View File

@ -2,7 +2,7 @@
email = paul@hptrow.me email = paul@hptrow.me
name = Paul Trowbridge name = Paul Trowbridge
[core] [core]
autocrlf = false autocrlf = true
editor = vim editor = vim
[push] [push]
default = simple default = simple
@ -18,5 +18,7 @@
directory = /var/www/kimai2 directory = /var/www/kimai2
directory = /var/www/html/resume/ directory = /var/www/html/resume/
directory = /var/www/html/resume directory = /var/www/html/resume
directory = /opt/forecast_api/
directory = /opt/forecast_api
[pull] [pull]
rebase = false rebase = false

View File

@ -1,4 +1,4 @@
-- Switch pagers with :x and :xx commands -- Switch pagers with :x and :xx commands
\set x '\\setenv PAGER ''less -S''' \set x '\\setenv PAGER ''less -S'''
\set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' \set xx '\\setenv PAGER \'pspg -bX --no-mouse\''
\timing \timing on

View File

@ -29,3 +29,4 @@ set -g @themepack 'powerline/default/cyan'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

1
.vimrc
View File

@ -66,6 +66,7 @@ set mouse=a
set visualbell set visualbell
set t_vb= set t_vb=
nnoremap \\ :noh<cr> " Clear higlighting nnoremap \\ :noh<cr> " Clear higlighting
set nowrap
"nnoremap <esc> :noh<return><esc> "nnoremap <esc> :noh<return><esc>
" Resize windows " Resize windows
nnoremap <silent> <Up> 5<C-W>+ nnoremap <silent> <Up> 5<C-W>+