feat: add shell specific configurations#36
Conversation
WalkthroughThe changes introduce a configurable shell section for command construction in the codebase. This includes new settings for the shell command separator and directory stack commands, updated documentation, validation logic, dynamic command assembly in terminal operations, and a new test to verify custom shell configuration usage. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Config
participant Terminal
User->>Config: Set custom shell commands (pushd_cmd, popd_cmd, separator)
User->>Terminal: Toggle terminal with command
Terminal->>Config: Retrieve shell config
Terminal->>Terminal: Build command using custom shell config
Terminal->>User: Execute terminal command with custom shell logic
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🔇 Additional comments (7)
✨ 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 (
|
|
Those errors in the CI can be ignored for now. All good. |
Pull Request
Description
As a nushell user, I can't use the extension because shell values are hardcoded.
Type of Change
Please check the options that are relevant:
Checklist
Please check all that apply:
Screenshots (if applicable)
Add screenshots to help explain your changes if they include visual elements.
Additional Notes
Add any other context about the PR here.
Summary by CodeRabbit
New Features
Documentation
Tests