strip out unnecesary things

This commit is contained in:
Paul Trowbridge 2021-03-12 21:49:46 -05:00
parent 87eb242cf0
commit 6488d20fcc
2 changed files with 10 additions and 15 deletions

20
.bashrc
View File

@ -119,17 +119,13 @@ fi
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 NVM_DIR="/home/pt/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# export PG="psql -U ptrowbridge -d ubm -p 5432 -h 192.168.1.110"
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
# 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

5
.vimrc
View File

@ -8,7 +8,6 @@ call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'kien/ctrlp.vim'
Plugin 'tpop/vim-fugitive'
Plugin 'scrooloose/nerdtree'
Plugin 'edkolev/tmuxline.vim'
Plugin 'vim-airline/vim-airline-themes'
@ -37,8 +36,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 = 1
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>