diff --git a/share/config.fish.in b/share/config.fish.in index 681c90993..266e0bba9 100644 --- a/share/config.fish.in +++ b/share/config.fish.in @@ -86,6 +86,10 @@ for i in (printf "%s\n" $path_list|sgrep -E -v $path_regexp) end end +# Launch debugger on SIGTRAP +function fish_sigtrap_handler --on-signal TRAP --no-scope-shadowing --description "Signal handler for the TRAP signal. Lanches a debug prompt." + breakpoint +end if status --is-interactive . config_interactive.fish