1

In OS X Leopard, when using Finder, somebody released some sort of script which was added to the Finder toolbar/panel as an icon, so if you clicked on it, a terminal window would appear directly at that PATH. I wonder if similar thing exists for Lion, since the old one is broken.

2 Answers 2

6

According to this answer, since OS X Lion, the feature is even available as a Service from Terminal.

To assign it to a keyboard shortcut, go to System Preferences ➯ Keyboard ➯ Keyboard Shortcuts ➯ Services.

Here, you need to enable "New Terminal Tab at Folder" and assign a shortcut. As a service, this will not only work from Finder.


The application cdto does the same. It opens a Terminal from the current Finder window—just like you described—and it supports Lion.


Alfred has an "Open Terminal here" action for files and folders too.

screenshot

When you buy the powerpack, you can invoke Alfred for any file or folder currently selected in Finder, too, and then call the appropriate action. This is what I normally do.

3
  • I haven't been able to get shortcuts for the "New Terminal (Tab) at Folder" services to work in Finder (they do work in Transmit though). Is it just a bug or is there something I'm missing?
    – Lri
    Dec 13, 2011 at 16:16
  • @Lri I would have tried it if I could, but I trusted a 65/0 answer that they worked. It's weird that they only do in Transmit — is it at least working as a normal service (using the contextual menu)?
    – slhck
    Dec 13, 2011 at 16:21
  • Yeah, they do show up in context menus in Finder.
    – Lri
    Dec 13, 2011 at 16:31
2

If you do not get what you want, you can always drag the icon in the title bar of the Finder window onto the dock tile for Terminal. Dragging is not as easy as clicking, but it's something.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .