Launch debug shell on TRAP signal.

darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
This commit is contained in:
axel 2007-04-24 07:10:26 +10:00
parent 2c02b59703
commit e2714b05eb

View file

@ -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