resholve
resholve copied to clipboard
Should resholve complain about overridden essential builtins?
resholve special-cases a number of builtins (alias, builtin, command, coproc, eval, and .|source) to resolve executables that appear in their arguments.
In theory, resholve might do the "wrong" thing if these builtins are obscured by a function or alias that changes their behavior.
I considered making these an error--but I'll start with a warning because I suspect that syntax/semantic-incompatible replacements are rare in the real world (and compatible replacements would have to triage).
If you ran into this warning, I'm curious how/why the builtin was overridden in the script you tried to resolve.