Skip to main content

All Questions

8 votes
2 answers
25k views

/usr/bin/env: zsh -: No such file or directory [duplicate]

I get the error /usr/bin/env: zsh -: No such file or directory ...when I run an executable zsh script that starts with the following shebang line: #!/usr/bin/env zsh - Also, FWIW, replacing - with --...
kjo's user avatar
  • 16.2k