zsh-compat
CommunitySafely run Bash commands in zsh on macOS.
Authorvinhnxv
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps users avoid common zsh compatibility pitfalls when generating Bash commands for macOS, including issues from ZSH-001, NOMATCH, read-only variables, and history expansion.
Core Features & Use Cases
- Guidance on safe shell patterns to ensure commands run reliably in zsh and bash environments.
- Concrete fixes and patterns such as (N) glob qualifiers, setopt nullglob, and moving negation inside [[ ]] to prevent parse-time errors.
- Use-case examples in scripting, tool development, and template generation where improperly formed shell commands would fail.
Quick Start
Ask for zsh-safe Bash patterns whenever you generate shell commands for macOS.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: zsh-compat Download link: https://github.com/vinhnxv/rune-plugin/archive/main.zip#zsh-compat Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.