News for hackers. Stuff that matters.
Re:Fish Shell 3.2 by mixmastamyk on Monday March 01, 2021 @01:24PM (#26306101)
Shebangs direct scripts to the right interpreter. Setting a default interactive shell won’t override it.
Re:Fish Shell 3.2 by SAI_Peregrinus on Tuesday March 02, 2021 @01:04PM (#26318252)
True, but there do exist (crappy) scrips with incorrect shebangs. EG specifying `#!/bin/sh` when they should use `#!/usr/bin/env bash`, since `/bin/sh` isn't necessarily bash. Could be dash. Could be fish. Could be oil. Etc.)
Re:Fish Shell 3.2 by geoelectric on Wednesday March 03, 2021 @12:43PM (#26331829)
I think /bin/sh is required to be a POSIX shell, at least when invoked with that name, and fish wouldn’t qualify.