stash r710 setup

This commit is contained in:
Paul Trowbridge 2020-12-04 21:38:15 -05:00
parent bd26fd665e
commit 03f90e0b2a
3 changed files with 29 additions and 19 deletions

23
.bashrc
View File

@ -121,15 +121,20 @@ PAGER="less"
LESS="-S"
export IPTOKEN="6ac0a563fc06ab"
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 V="vboxmanage"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
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
# ------------------powerline-go-----------------------------
#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
#
#
## 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]
email = paul@hptrow.me
name = Paul Trowbridge
email = paul@hptrow.me
name = Paul Trowbridge
[core]
autocrlf = false
editor = vim
autocrlf = false
editor = vim
[push]
default = simple
default = simple
[alias]
quick-stats = ! /usr/local/bin/git-quick-stats
quick-stats = ! /usr/local/bin/git-quick-stats
[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'
[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-------
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:tmuxline_powerline_separators = 0
let g:airline_powerline_fonts = 0
let mapleader = ";"
set showcmd
map <Leader>a :bn<cr>