fish: Add an alias to fuzzy find a process to kill
This commit is contained in:
parent
03a4cb93ff
commit
443ba5441a
1 changed files with 5 additions and 0 deletions
|
@ -401,6 +401,11 @@ function jbl --description "Select a boot to view logs"
|
|||
journalctl -r -b (journalctl --list-boots | fzf --tac | awk '{print $1}')
|
||||
end
|
||||
|
||||
function pk --description "Fuzzy find a process to kill"
|
||||
set proc (ps -ef | fzf | awk '{print $2}')
|
||||
kill -SIGKILL $proc
|
||||
end
|
||||
|
||||
fzf_key_bindings
|
||||
|
||||
starship init fish | source
|
||||
|
|
Loading…
Reference in a new issue