{"id":17648125,"url":"https://github.com/svrana/cdp","last_synced_at":"2026-04-28T22:31:10.294Z","repository":{"id":144790256,"uuid":"125954809","full_name":"svrana/cdp","owner":"svrana","description":"Change to commonly used directories quickly","archived":false,"fork":false,"pushed_at":"2018-10-30T17:51:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T20:06:53.540Z","etag":null,"topics":["bash","command-line-tool"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svrana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-20T03:22:17.000Z","updated_at":"2023-09-08T17:38:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5acebc92-96c7-4ad4-b34d-7c1ab6c1ae3b","html_url":"https://github.com/svrana/cdp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/svrana/cdp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrana%2Fcdp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrana%2Fcdp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrana%2Fcdp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrana%2Fcdp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svrana","download_url":"https://codeload.github.com/svrana/cdp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrana%2Fcdp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","command-line-tool"],"created_at":"2024-10-23T11:16:30.780Z","updated_at":"2026-04-28T22:31:10.276Z","avatar_url":"https://github.com/svrana.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdp\n\n## What is it?\n\ncdp is a command line tool that helps you quickly move to directories you use\noften. cdp is like CDPATH in that you define a list of directories to search\nfor the directory you type on the command line. Unlike CDPATH it allows you\nto move to an arbitrary depth per path and supplements normal cd usage but does\nnot change it.\n\n## Requirements\n\n  * Bash\n  * [fd](https://github.com/sharkdp/fd)\n\n\n## Installation\n\nClone this repo somewhere and `source cdp.sh`. Or just\n\n```\ncurl https://raw.githubusercontent.com/svrana/cdp/master/cdp.sh \u003e cdp.sh\nsource cdp.sh\n```\n\n## Configuration\n\nSet the CDP_DIR_SPEC environment variable. CDP_DIR_SPEC is a list of directories\nto search and the maximum depth to search in each directory for a match.\n\nFor example, if you define CDP_DIR_SPEC like I do:\n\n```bash\nexport CDP_DIR_SPEC=~/Projects:2;$GOPATH/src/github.com:3\n```\n\nThen if you type `cdp go-immutable` you will find yourself in $GOPATH/src/github.com/hashicorp/go-immutable-radix\nassuming such a directory exists on your filesystem. Note that search is fuzzy and the first found match is\nreturned.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvrana%2Fcdp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvrana%2Fcdp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvrana%2Fcdp/lists"}