summaryrefslogtreecommitdiff
path: root/.pdbrc
blob: 29f017d0776984fbf826152c91680e903f60ac58 (plain)
1
2
3
4
5
6
7
alias edit import os; os.system(f"$EDITOR {$_frame.f_code.co_filename} +{$_frame.f_lineno}")
alias e edit
alias s step ;; edit
alias n next ;; edit
alias r return ;; edit
alias c continue ;; edit
alias f import subprocess as sub; import json; sub.run("jq | :f", shell=True, input=json.dumps(%1).encode())