Skip to content

Instantly share code, notes, and snippets.

@ryankeiper
Created March 16, 2015 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryankeiper/2cd92e94b42d32fd490d to your computer and use it in GitHub Desktop.
Save ryankeiper/2cd92e94b42d32fd490d to your computer and use it in GitHub Desktop.
Ryan Keiper 3/16/15 bash profile homework
export PATH="/usr/local/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
echo "Hello Dave."
cd ~
profile(){
open -a "Sublime Text 2" ~/.bash_profile
}
newGaStudent(){
mkdir ~/GeneralAssembly
cd GeneralAssembly
mkdir "Homework" "Notes" "Projects" "Outcomes"
mkdir -p "Homework/week01/day01" "Notes/week01/day01"
echo "Live long and prosper." > README.md
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you:"
tree ~/GeneralAssembly
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment