Resolve the shell setting for a given command:
shell
Optional scripts table.
User-provided command name or string.
Global shell preference (string | boolean).
Resolve the shell setting for a given command:
shell
override.shell
(string | boolean).