mv .bash_profile ~/.bash_profile
No thanks, I have my own things in there.https://github.com/NapoleonWils0n/bashfinder/blob/master/.ba...
So you'd just want to rename this to something obvious like "osx-finder.bash" and source that file.
open .
The 'open' command has tons of uses (open a file with a specific application, reveal a file in Finder, open a URL in the user's browser, etc.) and I recommend reading its man page.