You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dprint has support for mapping shebangs to file extensions, but dprint-plugin-exec does not honor these mappings, and provides no equivalent option for shebang detection itself.
Ideally, exec.commands.exts should accept file extensions mapped from shebangs by dprint.
If that's not possible, adding a shebangs list to commands objects would work too. For instance, adding "shebangs": ["#!/bin/sh"] to a command would cause it to run for any file with a #!/bin/sh shebang and no extension, following the same rules as dprint.
Example
Here's a minimal example setup to reproduce this using fish_indent:
Activity
dsherret commentedon Oct 11, 2026
Will comment back once this is released. Requires both a dprint (dprint/dprint#1349) and a dprint-plugin-exec release
dsherret commentedon Oct 11, 2026
Should work now in dprint 0.63.0 (just released) and dprint-plugin-exec 0.8.0
friedev commentedon Oct 12, 2026
Thanks for the quick fix! I'll check it out when the new version gets published on Arch.