dotfiles/fish/.config/fish/functions/gdbp.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
121 B
Fish
Raw Permalink Normal View History

function gdbp --description 'Attach to a python process'
gdb python3 (ps -ef | fzf | awk '{print $2}' | head -1)
end