exit command when executed from a file being sourced doesn't terminate the execution of the program where it was being sourced, how to do this? Consider this files for a clearer explanation:
source b.fish echo "This should never run!"
echo "Failing now" exit 1
This will result in this (undesired output):
Failing now This should never run!
And the exit status is 0! Is there a solution for B to terminate execution of A as if
exit was written in A itself?