Using /bin/zsh --no-rcs

Alfred's default runtime is /bin/zsh --no-rcs. It is recommended over /bin/zsh for shared workflows because it does not load the .zshenv configuration file, ensuring your workflow runs in a more stable environment unaffected by external settings.

To recreate the same behaviour within your scripts, set the shebang to #!/bin/zsh --no-rcs.