diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index af6f417..c1b8b50 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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