Added extraction function to zshrc courtesy of Dr. Bunsen