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
I understand that we can configure scripts with scripts.dev.exec = ''...''.
I quite like to get syntax highlighting and linting for my shell scripts, as such I've started using scripts.dev.exec = builtins.readFile ./scripts/dev.sh; instead.
This works, but manually hooking up each script to each script file is a little cumbersome.
Could we get a helper that allows scripts.directory = './scripts'; ?
The name of the file would be how we invocate and the contents get executed using the interpretor from the shebang?
The text was updated successfully, but these errors were encountered:
I understand that we can configure scripts with
scripts.dev.exec = ''...''
.I quite like to get syntax highlighting and linting for my shell scripts, as such I've started using
scripts.dev.exec = builtins.readFile ./scripts/dev.sh;
instead.This works, but manually hooking up each script to each script file is a little cumbersome.
Could we get a helper that allows
scripts.directory = './scripts';
?The name of the file would be how we invocate and the contents get executed using the interpretor from the shebang?
The text was updated successfully, but these errors were encountered: