Added call to load the starship prompt

This commit is contained in:
Russell R. 2020-12-08 03:29:41 -05:00
parent f176cdee6d
commit 6b6f750255
1 changed files with 2 additions and 10 deletions

12
.bashrc
View File

@ -144,6 +144,7 @@ export XDG_DATA_HOME="$HOME/.local/share"
# Trying to get fzf to not look into .git folders
export FZF_DEFAULT_COMMAND='rg --files --hidden'
export PATH=$PATH:/usr/local/go/bin
# Look in my ascii-art folder, and use shuf to get a randome file name.
BANNERFILE=$(ls ~/mydocs/ascii-art/ | shuf -n 1)
@ -156,16 +157,7 @@ lolcat ~/mydocs/ascii-art/$BANNERFILE
source $HOME/.keychain/$HOSTNAME-sh
# Use the Powerline_go prompt system
function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -condensed -error $?)"
} # End _update_ps1() function
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
eval "$(starship init bash)"
# cd to my wsl2 home folder
cd ~
export PATH=$PATH:/usr/local/go/bin