Skip to content
Source
Sign inSign up
pingdotgg/t3code

Fix fish shell PATH bootstrap on macOS #239

Closeddnnaji(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/239/headopened View on GitHub

Summary

  • replace echo -n $PATH with printf "%s" "$PATH" in macOS fixPath() bootstraps
  • trim shell output before assigning process.env.PATH
  • apply the fix in both server and desktop startup paths

Why

$PATH is list-typed in fish. The previous unquoted expansion could produce a space-separated value, which breaks command resolution in Node and can surface as spawn ... ENOENT.

Validation

  • bun lint
  • bun typecheck

Note

Fix fish shell PATH bootstrap on macOS by sourcing process.env.PATH via apps/desktop/src/fixPath.ts:fixPath and apps/server/src/os-jank.ts:fixPath using printf "%s" "$PATH" and trimming the result

Replace echo -n $PATH with printf "%s" "$PATH" and apply .trim() to the execFileSync result before assigning to process.env.PATH. Changes occur in fixPath.ts and os-jank.ts.

📍Where to Start

Start with the fixPath implementation in fixPath.ts, then review the parallel change in os-jank.ts.

Macroscope summarized 20f149a.
    1. @dnnaji is attempting to deploy a commit to the Ping Labs Team on Vercel.

      A member of the Team first needs to authorize it.

    2. Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro

      Run ID: b8575f50-a4ea-483e-b459-8b7512967def

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Post copyable unit tests in a comment

      Tip

      Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Share your feedback on Discord.


      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands and usage tips.

Sign in to join this conversation.