{"id":18380069,"url":"https://github.com/ben-wormald/goto","last_synced_at":"2026-05-04T05:31:47.120Z","repository":{"id":133046126,"uuid":"285573666","full_name":"Ben-Wormald/goto","owner":"Ben-Wormald","description":"Jump to a project in your workspace by its initials","archived":false,"fork":false,"pushed_at":"2021-03-29T08:55:43.000Z","size":3,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T23:26:28.681Z","etag":null,"topics":["bash","workspace"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Ben-Wormald.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-06T13:05:00.000Z","updated_at":"2021-03-29T08:55:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"8152d90d-f5ca-4211-93f1-bbae3bdba637","html_url":"https://github.com/Ben-Wormald/goto","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/Ben-Wormald%2Fgoto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ben-Wormald%2Fgoto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ben-Wormald%2Fgoto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ben-Wormald%2Fgoto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ben-Wormald","download_url":"https://codeload.github.com/Ben-Wormald/goto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248412214,"owners_count":21099076,"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":["bash","workspace"],"created_at":"2024-11-06T00:41:49.353Z","updated_at":"2026-05-04T05:31:42.097Z","avatar_url":"https://github.com/Ben-Wormald.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goto\n\nCommand line tool to jump to a project in your workspace using its initials.\n\n```bash\ngoto vsnb\n~/code/vivo-stream-notification-bridge $\n```\n\n## Install\n\nClone this repo, then add your configuration and an alias to your `.bashrc` or `.zshrc`.\n\n```bash\nexport GOTO_WORKSPACE=\"$HOME/code\"\nexport GOTO_IGNORE='professor-cam training'\nalias goto=\"source $HOME/scripts/goto/goto.sh\"\nalias gocode=\"$HOME/scripts/goto/goto.sh -c\"\n```\n\n## Use\n\n`goto` can be used to jump to a project in your workspace by its initials (where the folder name is hyphenated).\nFor example, `goto igm` is equivalent to `cd $GOTO_WORKSPACE/int-gel-matter`.\n\nProviding the full name of a project also works, for example `goto int-gel-matter`.\n\nUsing `goto` with no arguments will take you to the root of your workspace.\n\nUse the `-c` flag to launch the project in VS Code, e.g. `goto -c igm`. \n\n## Configure\n\n`goto` uses a couple of environment variables to find your project folders.\n\n`GOTO_WORKSPACE` should be the folder containing your projects.\nIf not specified, this defaults to your home directory.\n\n`GOTO_IGNORE` should be a space-separated list of folder in your workspace to ignore, in case of clashes.\nFor example, I'm using `'professor-cam training'` so that `goto pc` will match the `passport-control` project instead of `professor-cam`.\nNote that you can still use the full name to bypass ignored projects, e.g. `goto professor-cam`.\n\n## Extend\n\nIf you want to include folders not in the root of your workspace you can add these to the case statement in the second half of the script.\nI've got one set up already to jump to the `passport-control-activity` package within `passport-control`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fben-wormald%2Fgoto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fben-wormald%2Fgoto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fben-wormald%2Fgoto/lists"}