[MAC] Tips-quickly open the terminal under the specified path

Sometimes we are processing some files in the Finder, and we need to open the "terminal" and switch to the current directory to work. At this time, it becomes a troublesome thing to switch directories in the "terminal".

More experienced users may open the "Terminal" and enter "  cd ", and then pull the folder to be switched from the Finder to the "Terminal" window, so that the "Terminal" will automatically be brought into the folder path. However, users still have to open the "terminal" and input commands first, which is still not convenient. Here is a little trick for everyone, so that you can quickly open the "terminal" in a specific path more conveniently.

The specific operations are as follows:

First open the "Keyboard" under "System Preferences":

824ff9293b054455a0cfc5e2bbb778cc.png

After opening, switch to the "Quick Keys" tab and select "Services" on the left, and then tick the "Add terminal tabs located in the folder location" under "Services":

6fda315060de56555d946380293fa30f.png

After completion, in the future, just right-click the folder in the Finder window (or any node in the "path bar" below), and select "Add a terminal at the folder location" under the "Services" item from the menu. "Final Tab", you can quickly open the "Terminal" from this path:

f72572d0b23b6417ef243b4f9f1e76f4.png


Guess you like

Origin blog.51cto.com/15118280/2676638