Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.