Last active
July 7, 2018 12:05
-
-
Save marknca/23773c66a0ca3b1d19f3 to your computer and use it in GitHub Desktop.
Mac bash personal configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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