Open AndrewKvalheim opened 2 years ago
This is expected (for now, at least). It's documented in the manpage (here's an excerpt from the plaintext copy):
In the near-ish term, we can probably:
In the long run I would like for resholve to be a little more parser-agnostic, but my gut says that'll be pretty difficult. I made some strides over the last year to build a more domain-specific abstraction layer between resholve and the OSH parser, but it is still tightly coupled to some of Oil's abstractions and APIs.
Thanks, makes sense. Indeed, I’d only been looking at the main and nixpkgs readmes. For now I’ll just use a wrapper around resholve to temporarily replace &!
with @AMPERSAND_EXCLAMATION@
.
Good point--if pluggable parsers don't seem to be tractable, I guess pluggable in/out filters might be...
zsh has a
&!
syntax for starting a disowned job, e.g.:Using this in a script causes resholve to fail with a parsing error: