Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Merge branch 'feat/mise-style-installer-rollout' into feat/installer-auto-shell-default

jkomynobe3942042ac9
diff --cc ts/packages/cli/src/commands/install.cmd.ts
index 6f88322b6,d90e47a28..f49b8db5e
--- a/ts/packages/cli/src/commands/install.cmd.ts
+++ b/ts/packages/cli/src/commands/install.cmd.ts
@@@ -222,8 -190,14 +222,14 @@@ const pathFilesForShell =
case 'fish':
return [path.join(homedir, '.config', 'fish', 'config.fish')];
case 'bash': {
+ // Bash is the only shell here that splits startup files by mode: an
+ // interactive non-login shell reads .bashrc, while a login shell (ssh,
+ // macOS Terminal.app) reads only its login files. Writing .bashrc alone
+ // would leave PATH unset in login shells whenever an override file
+ // shadows .profile, so the block lands in both. The override also stays
+ // a named value because the restart hint reports it separately.
const bashrc = path.join(homedir, '.bashrc');
- return bashLoginOverride ? [bashrc, bashLoginOverride] : [bashrc];
+ return bashLoginFile ? [bashrc, bashLoginFile] : [bashrc];
}
}
};