Open atian25 opened 3 months ago
The recent updates enhance directory change capabilities across multiple environments, specifically targeting the Darwin and new Warp environments. The enhancements are reflected in both command and utility scripts, with error messages and script generation tailored to support the varied terminal applications.
File Path | Change Summary |
---|---|
.../command/add.js |
Updated directory change logic and error message for Darwin and Warp environments. |
.../command/find.js |
Enhanced directory change support and updated error messages for Darwin and Warp. |
.../utils.js |
Introduced generateWarpScript ; modified generateAppleScript to adapt to the terminal program. |
🐰✨ In the realm of code, where directories twist and twirl, A clever rabbit hopped, bringing change to the world. With a flick of its paw, paths warp and unfurl, Now Darwin and Warp, together they swirl. Oh, how the scripts dance and whirl! 🌪️🍏
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Related to #64
This pull request introduces support for automatically switching to the corresponding directory after adding or finding a project in warp/iterm2 environments, addressing the need for compatibility beyond iTerm2 and Terminal applications on macOS.
generateWarpScript
inlib/utils.js
to generate scripts for changing directories in warp/iterm2 environments.generateAppleScript
inlib/utils.js
to include a condition that checks for warp/iterm2 environments and executes thegenerateWarpScript
if the condition is true._run
methods in bothlib/command/add.js
andlib/command/find.js
to include a check for warp/iterm2 environments. If the environment matches, it executes the corresponding script for directory change, extending support to these environments alongside Darwin platforms.For more details, open the Copilot Workspace session.
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes