Compare commits

...

1 Commits
master ... r710

Author SHA1 Message Date
03f90e0b2a stash r710 setup 2020-12-04 21:38:15 -05:00
3 changed files with 29 additions and 19 deletions

23
.bashrc
View File

@ -121,15 +121,20 @@ PAGER="less"
LESS="-S" LESS="-S"
export IPTOKEN="6ac0a563fc06ab" 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 5432 -h 192.168.1.110"
export PGD="psql -U ptrowbridge -d ubm -p 5433 -h 192.168.1.110"
export NVM_DIR="/home/pt/.nvm" export NVM_DIR="/home/pt/.nvm"
export V="vboxmanage"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# ------------------powerline-go-----------------------------
GOPATH=$HOME/go #GOPATH=$HOME/go
function _update_ps1() { #function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -error $?)" # PS1="$($GOPATH/bin/powerline-go -error $?)"
} #}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then #if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" # PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi #fi
#
#
## Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
#export PATH="$PATH:$HOME/.rvm/bin"

View File

@ -1,14 +1,19 @@
[user] [user]
email = paul@hptrow.me email = paul@hptrow.me
name = Paul Trowbridge name = Paul Trowbridge
[core] [core]
autocrlf = false autocrlf = false
editor = vim editor = vim
[push] [push]
default = simple default = simple
[alias] [alias]
quick-stats = ! /usr/local/bin/git-quick-stats quick-stats = ! /usr/local/bin/git-quick-stats
[log] [log]
date = format:%Y-%m-%d %H:%M:%S date = format:%Y-%m-%d %H:%M:%S
[format] [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'
[sendemail]
smtpserver = mail.gandi.net
smtpuser = paul@hptrow.me
smtpencryption = tls
smtpserverport = 587

4
.vimrc
View File

@ -37,8 +37,8 @@ let g:netrw_winsize = 25
"----airline tabs for buffers------- "----airline tabs for buffers-------
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'dark' let g:airline_theme = 'dark'
"let g:tmuxline_powerline_separators = 0 let g:tmuxline_powerline_separators = 0
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 0
let mapleader = ";" let mapleader = ";"
set showcmd set showcmd
map <Leader>a :bn<cr> map <Leader>a :bn<cr>