and I no longer have to re-run commands to see their exit status because I ran some other command in between. This uses
$? to determine the exit status. However, I noticed that when a command is backgrounded with Ctrl+Z, the shell also sets
$?, so I keep seeing
+ Stopped vim ☒ larsmans@host:~$ echo $? 148
148 a magic pseudo-exit status that I should check for?