fix: add ~/.local/bin to PATH bootstrap for uv-installed tools (fixes #78) (#150)

This commit is contained in:
Peter Steinberger 2026-01-03 22:25:52 +01:00 committed by GitHub
parent fe1b894676
commit c533593d8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,6 +79,7 @@ function candidateBinDirs(opts: EnsureClawdisPathOpts): string[] {
if (platform === "darwin") {
candidates.push(path.join(homeDir, "Library", "pnpm"));
}
if (process.env.XDG_BIN_HOME) candidates.push(process.env.XDG_BIN_HOME);
candidates.push(path.join(homeDir, ".local", "bin"));
candidates.push(path.join(homeDir, ".local", "share", "pnpm"));
candidates.push(path.join(homeDir, ".bun", "bin"));