this is so cursed https://github.com/xonsh/xonsh/issues/6111

On NixOS, where `cmd` is a script with a non-`/usr/bin/env` shebang path, `@$(cmd)` does not capture output, but de-sugaring it does · Issue #6111 · xonsh/xonsh
Similar to #4056, but… weirder. Frankly other than the discrepancy between @$ and its de-sugared form there's a good chance this isn't even your bug. Current Behavior Given: A file ./binsh: #!/bin/...