diff --git a/dotfiles/bash/bash_profile b/dotfiles/bash/bash_profile index f2c2329..40677a1 100644 --- a/dotfiles/bash/bash_profile +++ b/dotfiles/bash/bash_profile @@ -13,3 +13,5 @@ alias python='python3' if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi +eval "$(pyenv virtualenv-init -)" +export PATH="/usr/local/opt/openjdk/bin:$PATH" diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index dbf7448..11ec4d9 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -8,7 +8,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then fi parse_git_branch() { - git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' + git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /' } # If you ever needed weather... @@ -36,4 +36,4 @@ export PROMPT_DIRTRIM=2 # Important note for PS1 modification - everything non-printable must be escaped with `\[` and `\]`. Otherwise readline # fails to track the prompt right and things get messed up when you input long strings. export PS1=\ -'\[$bold\]\[$white\]\u@\h\[$reset\]: \[$bold\]\[$blue\]\w\[$reset\] \[$green\]\[$(parse_git_branch)\]\[$reset\]\[$bold\]\[$white\]>\[$reset\] ' +'\[$bold\]\[$white\]\u@\h\[$reset\]\[:\] \[$bold\]\[$blue\]\w\[$reset\] \[$green\]\[$(parse_git_branch)\]\[$reset\]\[$bold\]\[$white\]⇨\[$reset\] '