How to open an app in terminal and passing the cur

2019-06-15 04:05发布

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)?

7条回答
欢心
2楼-- · 2019-06-15 04:54

mate . will open the currently directory. I use the . directory a lot, for example open finder for the current directory open ..

查看更多
登录 后发表回答