fish: Add a rust-gdb helper command
This commit is contained in:
parent
ccdb81f9b5
commit
2fb77b64bc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue