2021-12-10 11:09:44 +01:00
|
|
|
function cdi --description 'Select a coredump to run coredumpctl info'
|
|
|
|
coredumpctl list --reverse | awk -F" " '$9 == "present"' | fzf | read -l result
|
2022-12-26 10:16:31 +01:00
|
|
|
if test -n "$result"
|
|
|
|
coredumpctl info (echo $result | awk -F" " '{print $5}')
|
|
|
|
end
|
2021-12-10 11:09:44 +01:00
|
|
|
end
|