#4108·micro

improve detection of language/syntax for shebang /usr/bin/env -S

Author: kuvaldiniCreated May 31, 2026Updated Sep 12, 2026
Labelsfeaturesyntax

Description

fish
#!/usr/bin/env -S fish --no-config
......................

-S allows to pass options/args to command, without -S everything after env is considered as command-name with spaces, and leads to 'fish --no-config' not found in PATH.