edit handler
fix for shells that do not inherit traps in subshell
Merge branch 'feature/handler-edit' into next