mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08: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
@ -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…
x
Reference in New Issue
Block a user