Created attachment 19726 [details]
It fails with the message
$? is not the status. In fish, please use $status
I assume Jason confirmed it.
Jason filed it on my behalf. The fix is probably: instead of sending "clear; open ..." to Terminal.app, you should send something like "bash -c "clear; open..."