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

3 lines
114 B
Fish

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