Open Finder in current location from Terminal

To save time I often use Alias’ to quickly do repetitve actions, such as opening Finder in the current location from Terminal:

echo 'alias openfinder="open -a Finder ./"' >> ~/.profile