Skip to content

Instantly share code, notes, and snippets.

@sankitch
Created November 6, 2012 11:36
Show Gist options
  • Select an option

  • Save sankitch/4024161 to your computer and use it in GitHub Desktop.

Select an option

Save sankitch/4024161 to your computer and use it in GitHub Desktop.
#!/bin/sh
function find-and-cd-by-percol() {
SELECT_DIR=$(find $1 -type d | percol --match-method migemo)
cd $SELECT_DIR
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment