Skip to content

Instantly share code, notes, and snippets.

@alextea
Last active June 12, 2018 13:14
Show Gist options
  • Save alextea/7168174f4554a70272c2a43a296261b4 to your computer and use it in GitHub Desktop.
Save alextea/7168174f4554a70272c2a43a296261b4 to your computer and use it in GitHub Desktop.
My bash profile with minimal prompt
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:~/.local/bin:$PATH"
source ~/.git-completion.bash
# Get the name of the branch we are on
git_prompt_info() {
branch_prompt=$(__git_ps1)
if [ -n "$branch_prompt" ]; then
echo $branch_prompt
fi
}
GIT_PS1_SHOWDIRTYSTATE="1"
PS1="\u\[\e[33m\]|\[\e[m\]\W\$(git_prompt_info)\$ "
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="/usr/local/opt/qt/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment