logo

Fish and pipestatus

Fish and $pipestatus Note: This morning I answered a Reddit post about $pipestatus, and after learning that there’s not a lot of good information out there, I thought making a blog post might be helpful for other future Fish users wanting to know more about using Fish’s $pipestatus. What’s an exit status? In Fish, like other shells, you can tell whether a command failed via its return value, sometimes called an exit code or an exit status.
6 minutes to read