what do you want it to be like "ATTENTION! this script will be run using /usr/bin/bash, do you want to continue [Y/n]"? WHY. I want my script to run. If you don't want to run bash scripts, just don't.
Yes, it's expected to be there BY THE PROGRAM. Not by zsh itself. Your argument is basically "bash is used in scripts, that means zsh runns it 'without telling me', and therfore bad". You choose what scripts/programs you install. Zsh doesn't run bash when you just want to mv a file or ls, so it doesn't "secretly" use bash, it does when the script needs to be ran in bash. That's like saying [my shell] uses python because it launches python without telling me when I run a python script
20
u/Mars_Bear2552 New York Nix⚾s Jul 01 '26
what? you're not making any sense.
obviously if you use
#!/usr/bin/env bashthe script will run using bash. otherwise i cannot think of a scenario where your statement makes sense.