Compare commits

..

No commits in common. "f990d4cd912342b8ebf27856e4219ec936a0f0b9" and "b7c644bcca2e1dc5c303056fb3e8a1edcf88b573" have entirely different histories.

6 changed files with 4 additions and 18 deletions

View File

@ -91,14 +91,13 @@ 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"
alias xsw="lsof 2>/dev/null +D . | grep '.*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 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 %' 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 mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}'
alias nv='~/nvim-linux64/bin/nvim' alias nv='~/nvim-linux64/bin/nvim'
alias gs='git status -s' alias gs='git status -s'

View File

@ -1,9 +0,0 @@
#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 = true autocrlf = false
editor = vim editor = vim
[push] [push]
default = simple default = simple
@ -18,7 +18,5 @@
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 on \timing

View File

@ -29,4 +29,3 @@ 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,7 +66,6 @@ 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>+