Skip to content

Update raycast-zoxide extension - #22218

Merged
raycastbot merged 2 commits into
raycast:mainfrom
mrpunkin:ext/raycast-zoxide
Oct 16, 2025
Merged

raycastbot merged 2 commits into
raycast:mainfrom
mrpunkin:ext/raycast-zoxide

Conversation

@mrpunkin

@mrpunkin mrpunkin commented Oct 15, 2025 •

Copy link
Copy Markdown
Contributor

Description

Screencast

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: raycast-zoxide Issues related to the raycast-zoxide extension platform: macOS OP is author The OP of the PR is the author of the extension labels Oct 15, 2025
@raycastbot

ghost commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

You can expect an initial review within five business days.

@mrpunkin
mrpunkin marked this pull request as ready for review October 15, 2025 21:43

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-paths preference in package.json for custom PATH directories
  • Created pathFor() and defaultPathFor() utility functions to generate PATH strings
  • Updated all command hooks (use-zoxide.ts, use-fzf.ts, use-spotlight.ts) and add-from-finder.tsx to 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 of path.delimiter for 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

Edit Code Review Agent Settings | Greptile

@TyceHerrman

ghost commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Closes #20629

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit bff3e24 into raycast:main Oct 16, 2025
@github-actions

ghost commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Oct 16, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@mrpunkin
mrpunkin deleted the ext/raycast-zoxide branch November 9, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: raycast-zoxide Issues related to the raycast-zoxide extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants