Seamless zoxide integration for Raycast. Ergonomic script commands for navigating and managing your directories.
- Clone this repository
- Add the
commandsdirectory as a Script Directory in Raycast (installation guide) - If you're using an IDE other than VS Code, set your editor in
commands/edit.sh, due to how Raycast runs scripts,$EDITORmay not be available, so it is set manually. Defaults tocodefor VS Code. - Launch Raycast and try it out!
The raycast-z commands leverage your existing zoxide database (automatically built as you navigate in your shell) to quickly access directories.
Simply enter a directory name or pattern, and z will find the best match.
You can also use absolute paths directly, even if they're not in your
zoxidedatabase.
- Create a new script command
{action}.shin thecommandsdirectory, usingopen.shas your template - Update the command call from
_z "$1" open .to your desired action:_z "$1" {your_command}The
_zfunction (defined inlib/_z.sh) handles the zoxide query and command execution in the target directory - Configure the
@raycast.*metadata to your needsNeed a custom icon? Use our ray.so template
- Test your new command in Raycast