mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Launch debug shell on TRAP signal.
darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
This commit is contained in:
parent
2c02b59703
commit
e2714b05eb
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ for i in (printf "%s\n" $path_list|sgrep -E -v $path_regexp)
|
||||||
end
|
end
|
||||||
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
|
if status --is-interactive
|
||||||
. config_interactive.fish
|
. config_interactive.fish
|
||||||
|
|
Loading…
Reference in a new issue