{"id":25436689,"url":"https://github.com/dir/raycast-z","last_synced_at":"2025-11-01T04:30:22.268Z","repository":{"id":275544240,"uuid":"926344521","full_name":"dir/raycast-z","owner":"dir","description":"❯ seamless zoxide integration for Raycast","archived":false,"fork":false,"pushed_at":"2025-02-03T07:24:57.000Z","size":647,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T18:44:39.989Z","etag":null,"topics":["bash","raycast","raycast-script","z","zoxide"],"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/dir.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":"2025-02-03T04:35:16.000Z","updated_at":"2025-02-05T20:18:25.000Z","dependencies_parsed_at":"2025-02-03T08:22:35.070Z","dependency_job_id":"68dd1234-358c-47fa-bb56-583f9eabfa45","html_url":"https://github.com/dir/raycast-z","commit_stats":null,"previous_names":["dir/raycast-z"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dir%2Fraycast-z","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dir%2Fraycast-z/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dir%2Fraycast-z/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dir%2Fraycast-z/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dir","download_url":"https://codeload.github.com/dir/raycast-z/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239255551,"owners_count":19608302,"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","raycast","raycast-script","z","zoxide"],"created_at":"2025-02-17T08:21:45.318Z","updated_at":"2025-11-01T04:30:22.104Z","avatar_url":"https://github.com/dir.png","language":"Shell","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"icons/z.png\"\u003e\n    \u003cimg src=\"icons/z.png\" alt=\"raycast-z\" width=\"84\"\u003e\n  \u003c/picture\u003e\n  \u003ch1\u003eraycast-z\u003c/h1\u003e\n  \u003cp\u003eSeamless \u003ca href=\"https://github.com/ajeetdsouza/zoxide\" target=\"_blank\" rel=\"noopener\"\u003ezoxide\u003c/a\u003e integration for \u003ca href=\"https://raycast.com\" target=\"_blank\" rel=\"noopener\"\u003eRaycast\u003c/a\u003e. Ergonomic script commands for navigating and managing your directories.\u003c/p\u003e\n  \u003cbr /\u003e\n  \u003cfigure\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/bc6a2b88-4a56-454c-bb21-1f37645642e2\" alt=\"Demo\" /\u003e\n  \u003c/figure\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\n## Requirements\n\n- [Raycast](https://raycast.com) installed on your system\n- [zoxide](https://github.com/ajeetdsouza/zoxide) installed and setup in your shell\n\n## Installation\n\n1. Clone this repository\n2. Add the `commands` directory as a Script Directory in Raycast ([installation guide](https://github.com/raycast/script-commands?tab=readme-ov-file#install-script-commands-from-this-repository))\n3. If you're using an IDE other than VS Code, set your editor in `commands/edit.sh`, due to how Raycast runs scripts, `$EDITOR` may not be available, so it is set manually. Defaults to `code` for VS Code.\n4. Launch Raycast and try it out!\n\n## Usage\n\nThe raycast-z commands leverage your existing `zoxide` database (_automatically built as you navigate in your shell_) to quickly access directories.\n\nSimply enter a directory name or pattern, and z will find the best match.\n\n\u003e You can also use absolute paths directly, even if they're not in your `zoxide` database.\n\n## Creating Custom Actions\n\n1. Create a new script command `{action}.sh` in the `commands` directory, using `open.sh` as your template\n2. Update the command call from `_z \"$1\" open .` to your desired action: `_z \"$1\" {your_command}`\n   \u003e The `_z` function (defined in `lib/_z.sh`) handles the zoxide query and command execution in the target directory\n3. Configure the `@raycast.*` metadata to your needs\n   \u003e Need a custom icon? Use our [ray.so template](https://ray.so/ZJ1T7XP)\n4. Test your new command in Raycast\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdir%2Fraycast-z","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdir%2Fraycast-z","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdir%2Fraycast-z/lists"}