Y
Hacker News
new
|
ask
|
show
|
jobs
by
arisudesu
795 days ago
I am not familiar with zsh, but is it really interpreted by zsh? Because the script has #!/usr/bin/env bash in its shebang, isn't it executed by bash on your system, even if launched from zsh?
1 comments
bananskalhalk
795 days ago
It seems to be very source-able in both bash and zsh. If you just executed it, it will run in bash.
They seem to have gone through some effort for this to be true.
link
They seem to have gone through some effort for this to be true.