Closed trofi closed 9 months ago
My system (NixOS) has one well-defined shell: /bin/sh.
NixOS
/bin/sh
But normally programs use either /run/current-system/sw/bin/bash or the bash from PATH. They use /usr/bin/env for that.
/run/current-system/sw/bin/bash
bash
PATH
/usr/bin/env
The change calls shell via /usr/bin/env to use PATH lookup.
Thanks for the contribution.
My system (
NixOS
) has one well-defined shell:/bin/sh
.But normally programs use either
/run/current-system/sw/bin/bash
or thebash
fromPATH
. They use/usr/bin/env
for that.The change calls shell via
/usr/bin/env
to usePATH
lookup.