MrPicklePinosaur / shrs

The rusty shell toolkit for hackers
https://mrpicklepinosaur.github.io/shrs/
Apache License 2.0
301 stars 24 forks source link

Fix AutocdPlugin #458

Closed morbidbark closed 3 months ago

morbidbark commented 4 months ago

Fixes issue #439

Explanation: TIL that rusts ExitStatus is actually analogous to a unix wait status, which encodes the exit status AND any signals that terminated the process. See libc::WEXITSTATUS here

MrPicklePinosaur commented 3 months ago

nice catch! I wasn't aware of wait status either 😅