How to open an app in terminal and passing the current working directory?
问题 I often want to open the entire directory I'm working in by using the mate command, but how do I pass in the working directory itself? For example, if I'm working in a rails app and I want to open the app folder into the TextMate tree, I would do mate app , but how could I pass in the working directory itself (i.e. open the entire rails app in the tree)? 回答1: mate . will open the currently directory. I use the . directory a lot, for example open finder for the current directory open . . 回答2: