It could be considered a breaking change to shfmt and fileutil.
There's some discussion in that issue about whether it's beneficial to
match zsh files because they can sometimes be formatted if they
don't contain any zsh-specific syntax, but without any way to explicitly
exclude them from discovery it's more of a hindrance than help until #120 is done.
testdata: Fix missing zsh files
These lines were being rendered into the contents of
shebang-nospace
rather than separate files because they were missing the trailing--
delimiters.It seems that there's no way to guard against this based
txtar
docs:This change will cause the tests to fail and will be fixed in a subsequent commit:
fileutil: Omit zsh extensions and shebangs
To prevent
shfmt
from discoveringzsh
files which aren't currently supported for formatting.This fixes #535 and the following test:
It could be considered a breaking change to
shfmt
andfileutil
.There's some discussion in that issue about whether it's beneficial to match
zsh
files because they can sometimes be formatted if they don't contain any zsh-specific syntax, but without any way to explicitly exclude them from discovery it's more of a hindrance than help until #120 is done.