Is there a standard way to create shell applications with runtime dependencies using a different shell (e.g. zsh)? I see that writeShellApplication
just inserts #!${runtimeShell}
. Is it possible to override that? I can use tricks like zsh <<EOF
, etc. but was wondering if there was another way.
I think the most practical thing to do would just be to copy-paste the implementation, & call writeTextFile
directly.
1 Like
writeShellApplication
and their friends are thin abstractions of writeTextFile
.
Just use one of them as inspiration.
1 Like