From db0a297b8ad914217106bf1873ed649b0fa0dff4 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Mon, 24 Oct 2022 15:27:53 -0500 Subject: [PATCH] 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. --- share/functions/trap.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/functions/trap.fish b/share/functions/trap.fish index 18e82ef34..8675229b8 100644 --- a/share/functions/trap.fish +++ b/share/functions/trap.fish @@ -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