How to get exit status of program in fish shell
<p>In the bash shell, I could <code>echo $?</code> to get the exit code of a program run on the cli. What is the equivalent in the fish shell? Can't seem to find this in the docs.</p>