diff --git a/.bashrc b/.bashrc index cf7d23f..180d357 100644 --- a/.bashrc +++ b/.bashrc @@ -59,9 +59,9 @@ if [ -n "$force_color_prompt" ]; then # We have color support; assume it's compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) - color_prompt=yes + color_prompt=yes else - color_prompt= + color_prompt= fi fi @@ -117,14 +117,6 @@ if ! shopt -oq posix; then fi fi -# Use the Powerline_go prompt system -function _update_ps1() { - PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" -} -if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then - PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" -fi - # TODO Fix this # create a shortcut to my windows home folder #export $WINHOME=/mnt/c/Users/Russ\ Riker/ @@ -162,5 +154,15 @@ lolcat ~/mydocs/ascii-art/$BANNERFILE /usr/bin/keychain --nogui $HOME/.ssh/id_rsa source $HOME/.keychain/$HOSTNAME-sh + +# Use the Powerline_go prompt system +function _update_ps1() { + PS1="$($GOPATH/bin/powerline-go -condensed -error $?)" +} +if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then + PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" +fi + + # cd to my wsl2 home folder cd ~