Skip to content

Instantly share code, notes, and snippets.

@IanCarrasco
Last active February 22, 2023 10:15
Show Gist options
  • Save IanCarrasco/60364134e2649fb0d94751b7a04f25b1 to your computer and use it in GitHub Desktop.
Save IanCarrasco/60364134e2649fb0d94751b7a04f25b1 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

@SantaXXL
Copy link

Another way:

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

zrzut ekranu 2017-09-27 o 02 12 12

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