Remix.run Logo
chubot 3 days ago

I think you should be able to get rid of the is-oil part, because set -E was implemented last year

    $ osh -c 'set -E; set -o |grep errtrace'
    set -o errtrace
I'd be interested in any bug reports if it doesn't behave the same way

(The Oils runtime supports FUNCNAME BASH_SOURCE and all that, but there is room for a much better introspection API. It actually has a JSON crash report with a shell stack dump, but it probably needs some polish.)

oguz-ismail 3 days ago | parent [-]

>I'd be interested in any bug reports

What's the point? You can't fix them anyway

jamesmiller5 3 days ago | parent [-]

They meant Oil(s) as in fixing bugs in the bash compatible replacement that they author for the OP's 'is-oil' check.

oguz-ismail 3 days ago | parent [-]

I know