Skip to content

Instantly share code, notes, and snippets.

@marknca
Last active July 7, 2018 12:05
Show Gist options
  • Save marknca/23773c66a0ca3b1d19f3 to your computer and use it in GitHub Desktop.
Save marknca/23773c66a0ca3b1d19f3 to your computer and use it in GitHub Desktop.
Mac bash personal configuration
# Config var
USERNAME=__CHANGE_THIS__
# Path
export PATH=$PATH:/Users/$USERNAME/bin:/usr/local/go/bin:/usr/local/bin:$PATH
# Env
export EDITOR=subl
# Prompt
PS1="\e[0;37;45m[ \t ]\e[m \e[0;35m\w\e[m \n # "
# Aliases
alias serve="python3 -m http.server 8000"
alias grepr='grep -B 3 -A 3'
if [ -f ~/.bash_profile ];
then source ~/.bash_profile
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment