{"id":27226077,"url":"https://github.com/sunlho/cd-fast","last_synced_at":"2026-04-24T16:04:47.048Z","repository":{"id":286951755,"uuid":"958919291","full_name":"sunlho/cd-fast","owner":"sunlho","description":"ZSH CD Fast 是一个用于快速切换目录的 Zsh 插件。你可以为常用目录设置别名，并通过简洁的命令快速访问这些目录 。","archived":false,"fork":false,"pushed_at":"2025-04-09T06:09:18.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T06:32:54.459Z","etag":null,"topics":["cd","plugin","zsh"],"latest_commit_sha":null,"homepage":"","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/sunlho.png","metadata":{"files":{"readme":"README.EN.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":"2025-04-02T01:22:56.000Z","updated_at":"2025-04-09T06:09:21.000Z","dependencies_parsed_at":"2025-04-09T06:43:05.116Z","dependency_job_id":null,"html_url":"https://github.com/sunlho/cd-fast","commit_stats":null,"previous_names":["sunlho/cd-fast"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunlho%2Fcd-fast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunlho%2Fcd-fast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunlho%2Fcd-fast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunlho%2Fcd-fast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunlho","download_url":"https://codeload.github.com/sunlho/cd-fast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248214301,"owners_count":21066409,"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":["cd","plugin","zsh"],"created_at":"2025-04-10T11:46:49.217Z","updated_at":"2026-04-24T16:04:46.988Z","avatar_url":"https://github.com/sunlho.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZSH CD Fast\n\n## Introduction\n\n**ZSH CD Fast** is a Zsh plugin for quickly switching between directories. You can assign aliases to\nfrequently used directories and access them using concise commands.\n\n## Installation\n\n1. Clone or copy the plugin into your Zsh plugin directory, for example:\n\n   ```zsh\n   ~/.oh-my-zsh/custom/plugins/cd-fast/\n   ```\n\n2. Edit your `~/.zshrc` file and add the plugin name:\n\n   ```zsh\n   plugins=(\n     ...\n     cd-fast\n   )\n   ```\n\n3. Configure the `CD_FAST` environment variable to define directory aliases. For example:\n\n   ```zsh\n   export CD_FAST=\"p:~/projects;d:~/Downloads\"\n   ```\n\n   \u003e ⚠️ **Note:** This line should be placed _before_ `source $ZSH/oh-my-zsh.sh`.\n\n4. Reload your Zsh configuration:\n\n   ```zsh\n   source ~/.zshrc\n   ```\n\n## Usage\n\nBased on the aliases you define in `CD_FAST`, the plugin will automatically create corresponding `cd`\ncommands. For example:\n\n- `cdp` → switches to `~/projects`\n- `cdd` → switches to `~/Downloads`\n\n## Example\n\n```zsh\nexport CD_FAST=\"p:~/projects;d:~/Downloads;w:~/workspace\"\n\n# Now you can use:\ncdp   # → ~/projects\ncdd   # → ~/Downloads\ncdw   # → ~/workspace\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunlho%2Fcd-fast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunlho%2Fcd-fast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunlho%2Fcd-fast/lists"}