{"id":15788274,"url":"https://github.com/raphael/gcd","last_synced_at":"2025-03-31T18:23:58.112Z","repository":{"id":28963561,"uuid":"32489823","full_name":"raphael/gcd","owner":"raphael","description":"Smart (?) cd","archived":false,"fork":false,"pushed_at":"2016-07-14T19:38:45.000Z","size":3,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T21:41:40.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-18T23:27:14.000Z","updated_at":"2016-03-06T19:17:54.000Z","dependencies_parsed_at":"2022-08-01T21:59:58.155Z","dependency_job_id":null,"html_url":"https://github.com/raphael/gcd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fgcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fgcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fgcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fgcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphael","download_url":"https://codeload.github.com/raphael/gcd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246515923,"owners_count":20790140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-04T21:41:36.479Z","updated_at":"2025-03-31T18:23:58.096Z","avatar_url":"https://github.com/raphael.png","language":"Go","readme":"# gcd\n\nRecurse through $HOME/src/go/src, finds the first file / directory that matches the given argument and prints it.\n\ne.g.:\n```\n$ gcd gcd\n/Users/raphael/src/go/src/github.com/raphael/gcd\n```\n\n## Usage\nIn your `.bashrc`, `.bash_profile` or equivalent:\n```bash\nfunction cdg() {\n   cd `gcd $1`\n}\n```\nThen:\n```\n~ $ cdg gdc\n~ src/go/src/github.com/raphael/gcd\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphael%2Fgcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphael%2Fgcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphael%2Fgcd/lists"}