From 6b6f75025551e672eb669b76ab8e0e1d6c8d1e5f Mon Sep 17 00:00:00 2001 From: Dr-Wasabi Date: Tue, 8 Dec 2020 03:29:41 -0500 Subject: [PATCH] Added call to load the starship prompt --- .bashrc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.bashrc b/.bashrc index aa4cd7d..155783a 100644 --- a/.bashrc +++ b/.bashrc @@ -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