Make sure that no bash scripts override PS1, i.e. devspaces#369
Make sure that no bash scripts override PS1, i.e. devspaces#369
Conversation
WalkthroughThe pull request modifies the Changes
Sequence Diagram(s)sequenceDiagram
participant C as Caller
participant L as launch_shell()
participant E as Environment
participant P as Process
C->>L: Call launch_shell(host, context, allow, unsafe)
L->>E: Retrieve SHELL (default "bash")
alt Shell is "bash"
L-->>L: Append "--norc", "--noprofile" to command
end
L->>P: Spawn process with constructed command
P-->>L: Return process result
L-->>C: Return exit code
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (11)
🔇 Additional comments (1)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for jumpstarter-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
NickCao
left a comment
There was a problem hiding this comment.
Good enough for now, will make it customizable with a --command flag in the new unified cli.
Summary by CodeRabbit