This commit is contained in:
Paul Trowbridge 2022-03-01 09:19:34 -05:00
parent b279da9951
commit 55251c87d5

28
.bashrc
View File

@ -1,3 +1,4 @@
export
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
@ -125,19 +126,26 @@ export PGD="psql -U ptrowbridge -d ubm -p 5432 -h usmidlnx01"
export RU="//mnt/c/Users/PTrowbridge/AppData/Roaming/runner"
export HP="//mnt/c/Users/PTrowbridge"
export XL="//mnt/c/Program\ Files/Microsoft\ Office/root/Office16/EXCEL.EXE"
export NVM_DIR="/home/pt/.nvm"
export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json"
export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC"
export PATH=$PATH:"//mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application"
export MS="sqlcmd.exe -S mid-sql02 -i"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
GOPATH=$HOME/go
function _update_ps1() {
#PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)"
PS1="$($GOPATH/bin/powerline-go -condensed -error $?)"
}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi
#GOPATH=$HOME/go
#function _update_ps1() {
# #PS1="$($GOPATH/bin/powerline-go -theme low-contrast -condensed -error $?)"
# PS1="$($GOPATH/bin/powerline-go -condensed -error $?)"
#}
#if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
# PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
#fi
export DENO_INSTALL="/home/ptrowbridge/.deno"
export PATH=$PATH:"$DENO_INSTALL/bin:$PATH"
eval `keychain --eval id_rsa`