diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index b1e96dc..f0740c6 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -348,6 +348,10 @@ function gdbp --description "Attach to a python process" gdb python3 (ps -e | fzf | awk '{print $1}' | head -1) end +function gdbr --description "Start a command/process with rust-gdb" + rust-gdb --args $argv +end + function pst --description "Show process tree of a process" set proc (ps -e | fzf | awk '{print $1}' | head -1) pstree -H $proc $proc