Skip to content

Commit da07a11

Browse files
Fix tools directory for pai alias (#1267)
Fixes case-sensitive filesystem bug — actual directory is TOOLS (uppercase). Same fix applied to our 5.1.0 source: PAI/PAI_INSTALL/engine/actions.ts:1710 (path now PAI_INSTALL with underscore in 5.1.0).
1 parent de22062 commit da07a11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Releases/v5.0.0/.claude/PAI/PAI-Install/engine

Releases/v5.0.0/.claude/PAI/PAI-Install/engine/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ export async function runConfiguration(
15251525
const userShell = process.env.SHELL || "/bin/zsh";
15261526
const rcFile = userShell.includes("bash") ? ".bashrc" : userShell.includes("fish") ? ".config/fish/config.fish" : ".zshrc";
15271527
const rcPath = join(homedir(), rcFile);
1528-
const aliasLine = `alias pai='bun ${join(paiDir, "PAI", "Tools", "pai.ts")}'`;
1528+
const aliasLine = `alias pai='bun ${join(paiDir, "PAI", "TOOLS", "pai.ts")}'`;
15291529
const marker = "# PAI alias";
15301530

15311531
if (existsSync(rcPath)) {

0 commit comments

Comments
 (0)