preserve history from parent shell in zsh#573
preserve history from parent shell in zsh#573mangelajo merged 2 commits intojumpstarter-dev:mainfrom
Conversation
fixes #560 Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
✅ Deploy Preview for jumpstarter-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughThis change updates the shell launching logic in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant launch_shell
participant Shell (bash/zsh)
Note over launch_shell: Determine shell type
alt bash
launch_shell->>Shell (bash/zsh): Start with ["bash", "--norc", "--noprofile"]
else zsh
launch_shell->>Shell (bash/zsh): Start with ["zsh"] (+ "--no-rcs" if needed)
alt HISTFILE not set
launch_shell->>Shell (bash/zsh): Set HISTFILE=~/.zsh_history
end
launch_shell->>Shell (bash/zsh): Add "-o inc_append_history" and "-o share_history"
end
Estimated code review effort2 (~12 minutes) Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (2)
✨ 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:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
fixes #560
Summary by CodeRabbit
New Features
Style