Skip to content

Instantly share code, notes, and snippets.

@adammichaelwood
Created August 9, 2016 13:34
Show Gist options
  • Save adammichaelwood/1637409fa1265dd853721a55b61c54ce to your computer and use it in GitHub Desktop.
Save adammichaelwood/1637409fa1265dd853721a55b61c54ce to your computer and use it in GitHub Desktop.
My bash profile. Work in progress.
export PATH=$PATH:~/bin
export PATH=/usr/local/bin:$PATH
alias rm='rm -i'
alias reset='source ~/.bash_profile'
md () { touch "$1.md" && atom "$1.md" ;}
trash () { command mv "$@" ~/.Trash ; }
gdir () { mkdir -p "$1" && echo "# $1" >> "$1/readme.md" ; }
PATHCOLOR='\e[0;33m';
ARROWCOLOR='\e[0;36m';
ENDCOLOR="\e[0m"
export PS1="$PATHCOLOR\w$ENDCOLOR $ARROWCOLOR=> $ENDCOLOR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment