Skip to content

Instantly share code, notes, and snippets.

@mugshepherd
Last active August 29, 2015 14:17
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 mugshepherd/21629849e379b63d60f5 to your computer and use it in GitHub Desktop.
Save mugshepherd/21629849e379b63d60f5 to your computer and use it in GitHub Desktop.
Sample code to be added to .bash_profile file for new student. Sets up working directory. Does not put student into GeneralAssembly folder.
new_student(){
cd ~
mkdir ~/GeneralAssembly
cd GeneralAssembly
mkdir -p "Homework/week01/day01" "Notes/week01/day01" "Projects" "Outcomes"
echo "Dont Panic!" > Readme.md
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you"
tree ~/GeneralAssembly
cd ~
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment