dotfiles/fish/.config/fish/functions/gdba.fish

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

4 lines
116 B
Fish
Raw Normal View History

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