Skip to content

Instantly share code, notes, and snippets.

@leohxj
Forked from IanCarrasco/hyperguide.md
Created September 9, 2018 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leohxj/380be5b3765b00c377b8e9481ae97f0c to your computer and use it in GitHub Desktop.
Save leohxj/380be5b3765b00c377b8e9481ae97f0c to your computer and use it in GitHub Desktop.
How to Create a Hyper Terminal at a Folder

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.

2.Within cd_to, open the Hyper folder and drag the cd_to.app file into your Applications folder MacDown Screenshot.

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

4.Finally create a Run Shell Script command from the utilities panel and type in open /Applications/cd_to.app MacDown Screenshot

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

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

@leohxj
Copy link
Author

leohxj commented Sep 9, 2018

Another way:

Drag the cd_to.app file into your Applications folder
Hold CMD and drag the cd_to.app onto Finder’s toolbar
Enjoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment