mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +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' '')
|
for sig in (string upper -- $names | string replace -r '^SIG' '')
|
||||||
if test -n "$sig"
|
if test -n "$sig"
|
||||||
functions __trap_handler_$sig
|
functions __trap_handler_$sig
|
||||||
|
echo ""
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue