Add new line between each trap -p output function

This makes the output a little easier on the eyes.
Tests appear to not need any changes to pass. I always forget whether or not
littlecheck cares about whitespace.
This commit is contained in:
Mahmoud Al-Qudsi 2022-10-24 15:27:53 -05:00
parent 07fc04465f
commit db0a297b8a

View file

@ -69,6 +69,7 @@ function trap -d 'Perform an action when the shell receives a signal'
for sig in (string upper -- $names | string replace -r '^SIG' '')
if test -n "$sig"
functions __trap_handler_$sig
echo ""
else
return 1
end