Repository navigation
Update raycast-zoxide extension - #22218
Conversation
commented
Oct 15, 2025
|
Thank you for the update! 🎉 You can expect an initial review within five business days. |
left a comment
There was a problem hiding this comment.
Greptile Overview
Summary
This PR adds a new preference to allow users to specify additional directories to prepend to the PATH environment variable when executing zoxide, fzf, and other commands. The implementation creates a new utility module (path-helpers.ts) with centralized PATH generation logic.
Key changes:
- New
addl-pathspreference inpackage.jsonfor custom PATH directories - Created
pathFor()anddefaultPathFor()utility functions to generate PATH strings - Updated all command hooks (
use-zoxide.ts,use-fzf.ts,use-spotlight.ts) andadd-from-finder.tsxto use the new utility functions - Dependency updates to latest versions (
@raycast/api,eslint,prettier,typescript) - CHANGELOG entry documenting the new feature
The changes are well-structured and maintain consistency across the codebase by centralizing PATH handling logic.
Confidence Score: 4/5
- This PR is safe to merge with only minor style improvements suggested
- The implementation is solid with good separation of concerns. The new utility functions centralize PATH handling effectively. However, there are minor style improvements that could be made (using
:directly instead ofpath.delimiterfor a macOS-only extension). The dependency updates are routine and safe. No logical errors or security issues found. - No files require special attention - all changes are straightforward and well-implemented
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/raycast-zoxide/package.json | 5/5 | Added new preference for additional path directories and updated dependencies to latest versions |
| extensions/raycast-zoxide/src/utils/path-helpers.ts | 4/5 | New utility functions for generating PATH strings with support for additional directories |
| extensions/raycast-zoxide/src/hooks/use-zoxide.ts | 5/5 | Updated to use new pathFor utility function for PATH environment variable |
| extensions/raycast-zoxide/src/add-from-finder.tsx | 5/5 | Updated to use new pathFor utility function for PATH environment variable |
7 files reviewed, 3 comments
commented
Oct 16, 2025
|
Closes #20629 |
commented
Oct 16, 2025
|
Published to the Raycast Store: |
commented
Oct 16, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder