Jump to content
Wangyou Zhang

cd plus for Alfred

Recommended Posts

I write a workflow for opening files/directories either in Finder or in iTerm directly with Alfred.

It supports saving history records and auto-suggestions according to the history records.

Hope you like it :)

 

Description

This workflow could help you:

  • open the given path/file in Finder
  • (cmd) reveal the given path/file in Finder
  • (ctrl) open the given path/file in iTerm

It can remember at most MAX_LENGTH history records that you searched before and you can access them again conveniently.

 

Download
You can download the workflow file from my GitHub.


Examples

  • cd + nothing : It will list all the history records.

 

  • cd + path/file name : It will open the path in Finder or open the file directly.demo_1.thumb.png.79f6bb6fc3babf8aeafb81360c889991.png

 

  • cd + any string : It will list all history records that are possibly relevant to the input.demo_2.thumb.png.4f7fe9096de2831b5351d3edbcbcfb37.png

 

  • cd + path/file name & press command while selecting an item in the list :

    It will reveal the path/file in Finder.

    demo_3.thumb.png.8eb3c70071319595e672fca92b56aabf.png

 

  • cd + path/file name & press ctrl while selecting an item in the list :

    It will open the path/path of file in iTerm.

    Note : Please make sure you have installed iTerm before you try this !demo_4.thumb.png.0498a81edfc73af20ba309ea83b0c021.png

Edited by Wangyou Zhang
change descriptions

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...