3 lines
114 B
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
|