Description

Github

Installation

sudo snap install fuzzy-repo-finder

Add to your ~/.bashrc or ~/.zshrc or ~/.profile:

function go_to_project() {
  cd $(fuzzy-repo-finder --projectRoots "${HOME}/projects,${HOME}/go/src" $@)
}
alias g='go_to_project'

In terminal:

$ g

Find projects by partial name:

$ g myprojectname

Debug:

$ fuzzy-repo-finder --projectRoots "${HOME}/projects,${HOME}/go/src" --debug myprojectname

Help:

$ fuzzy-repo-finder --help

Demo

From directory structure:

~/projects
  ├── group_A
  │   ├── project_1
  │   ├── project_2
  │   └── project_3
  └── group_B
      ├── project_1
      ├── project_2
      └── group_C
          └── project_1

Unfiltered:

Search: 
group_A
    project_1
    project_2
    project_3
group_B
    project_1
    project_2
    project_3
group_B/group_C
    project_1

Filtered:

Search: pr1
group_A
    project_1
group_B
    project_1
group_B/group_C
    project_1

Screenshots

Get it from the Snap Store

Search for another snap, or go back to the homepage.