Using /bin/zsh --no-rcs
New in Alfred 5.1.2
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 with an External Script, set the shebang to #!/bin/zsh --no-rcs
.