mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
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:
parent
07fc04465f
commit
db0a297b8a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue