Possible Duplicate:
On a Mac, how can I group together commands I want run into a alias?
I have been using aliases for a while now but can't seem to figure out how to 'chain' commands properly. For instance, is there a way to type in one alias and have it chain multiple commands, like this?
'cd /Applications/MAMP/htdocs/V3/wp-content/themes/V3/'
mate .
open /Applications/MAMP/MAMP.app/
open -a Safari http://localhost:8888/