Skip to content

Instantly share code, notes, and snippets.

@renaco
renaco / .bash_profile
Last active May 27, 2022 16:30
.bash_profile for mac & .bashrc for ubuntu
# only linux and mac
export PATH=~/bin:$PATH
export PATH="/usr/local/mysql/bin:$PATH"
# git bash auto-completion
source `brew --prefix git`/etc/bash_completion.d/git-completion.bash
# latest versions of git has the prompt stuff on an extra file
__git_prompt_file=`brew --prefix git`/etc/bash_completion.d/git-prompt.sh
if [ -f "$__git_prompt_file" ]
then