Mac terminal can't be used after set up of ~/.bash_profile
You've got a recursive inclusion in your .bash_profile.

You can always edit the file in TextEdit.app (or another graphical text editor of your liking) if you get in to deep trouble like this.

Open up TextEdit using Spotlight or via Finder and then type ⌘ CMD+o to get the Open File... dialog. Press ⌘ CMD+⇧ SHIFT+. to reveal hidden files in the dialog box and then find your ~/.bash_profile file. Remove the:

. .bash_profile


from the file and save it and you'll have a working bash shell again.