{"id":30138308,"url":"https://github.com/nodef/extra-cd.sh","last_synced_at":"2026-04-28T21:34:00.613Z","repository":{"id":287266231,"uuid":"107169113","full_name":"nodef/extra-cd.sh","owner":"nodef","description":"Change to directories with shortcut names in Linux Terminal.","archived":false,"fork":false,"pushed_at":"2025-04-10T19:59:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T01:09:42.905Z","etag":null,"topics":["bash","cd","change","directory","extra","function","linux","name","script","shortcut","terminal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-cd.sh","language":"Shell","has_issues":false,"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/nodef.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,"zenodo":null}},"created_at":"2017-10-16T18:46:40.000Z","updated_at":"2025-04-10T19:59:37.000Z","dependencies_parsed_at":"2025-04-10T20:49:20.254Z","dependency_job_id":"576602e2-9a13-455f-ae1e-437ae91678a1","html_url":"https://github.com/nodef/extra-cd.sh","commit_stats":null,"previous_names":["nodef/extra-cd.sh"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nodef/extra-cd.sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-cd.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-cd.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-cd.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-cd.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodef","download_url":"https://codeload.github.com/nodef/extra-cd.sh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-cd.sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400866,"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","cd","change","directory","extra","function","linux","name","script","shortcut","terminal"],"created_at":"2025-08-11T01:06:11.731Z","updated_at":"2026-04-28T21:34:00.590Z","avatar_url":"https://github.com/nodef.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Change to directories with shortcut names in Linux Terminal.\n\u003e 1. Download [bash script](https://github.com/bashf/extra-cd/releases/download/1.0.0/ecd).\n\u003e 2. Set execute permission on the `bash script`, and copy to `~/scripts`.\n\u003e 3. Source the script in .bashrc: `echo \"source \u003cpath to ecd\u003e\" \u003e\u003e ~/.bashrc`.\n\n\n```bash\n$ ecd [- | [+\u003cshortcut\u003e [path] | -\u003cshortcut\u003e | =\u003cshortcut\u003e]]\n\n# [] -\u003e optional argument\n# \u003c\u003e -\u003e argument value\n```\n\n```bash\n# change to workspace directory\n$ ecd /local/mnt/workspace\n\n# change to up one directory\n$ ecd ..\n\n# stay at current directory (list contents)\n$ ecd .\n\n# change to previous directory\n$ ecd -\n\n# add current directory as shortcut\n$ ecd +work\n\n# change to root directory\n$ ecd /\n\n# change to workspace directory using shortcut\n$ ecd =work\n\n# remove workspace shortcut\n$ ecd -work\n\n# add relative path shortcut\n$ ecd +up3 ../../..\n\n# go up 3 directories\n$ ecd =up3\n\n# remove relative path shortcut\n$ ecd -up3\n```\n\n\n[![bashf](https://i.imgur.com/Ki9lyzP.jpg)](https://bashf.github.io)\n![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-cd.sh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-cd.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodef%2Fextra-cd.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-cd.sh/lists"}