markdown 如何在文件夹中创建超级终端

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 如何在文件夹中创建超级终端相关的知识,希望对你有一定的参考价值。

# How to open hyper at current directory.

1.Go to the forked cd\_to github repository and download the latest release.(zipped) [Download From Github](https://github.com/ealeksandrov/cdto/releases/tag/2_8_0). 

2.Within cd\_to, open the Hyper folder and drag the cd_to.app file into your Applications folder ![MacDown Screenshot](https://image.ibb.co/i3s6rk/Screen_Shot_2017_08_25_at_10_47_16_AM.png).

3.Now open up Automator and create a new service.
File>New>Service(gear icon).Be sure to save the service with an effective name like "Hyper Terminal at Folder"
![MacDown Screenshot](https://image.ibb.co/dxUQj5/Screen_Shot_2017_08_25_at_10_53_22_AM.png)

4.Finally create a Run Shell Script command from the utilities panel and type in ```open /Applications/cd_to.app```
![MacDown Screenshot](https://image.ibb.co/fU84Bk/Screen_Shot_2017_08_25_at_10_56_03_AM.png)

If everything worked out properly when you click run it should open a Hyper terminal instance at the Applications folder where automator is located.

# Creating a Shortcut for the Service
1.Go to System Preferences>Keyboard. And in the services pane find the service that has the same name as your automator script. Then assign a new short cut by clicking Add Shortcut. I used Control + Cmd + H as several shortcuts are already taken within Finder.
![MacDown Screenshot](https://image.ibb.co/kdwrrk/Screen_Shot_2017_08_25_at_11_04_25_AM.png)

If your shortcut is not working immediately go click it manually once a folder is selected from Finder's menubar and the keyboard shortcut should be activated. As the service is only available on file/folder contexts. 
![MacDown Screenshot](https://preview.ibb.co/fq4cWk/Screen_Shot_2017_08_25_at_11_09_55_AM.png)

以上是关于markdown 如何在文件夹中创建超级终端的主要内容,如果未能解决你的问题,请参考以下文章

如何从终端窗口在 Linux 中创建文件? [关闭]

什么命令在终端中创建一个新文件?

如何在 markdown frontmatter 中创建字符串列表?

在终端(OSX)中创建大量指定大小的文件?

markdown 如何在角度中创建动态组件

markdown 如何在Ruby中创建小的,独特的标记