Based directly on the percol plugin.
-
Install fzy binary https://github.com/jhawthorn/fzy
-
Install fisher https://github.com/jorgebucaran/fisher
-
Install this plugin
fisher install gyakovlev/fish-fzy
- Press CTRL+r and type what you need.
fzy picks up history item and adds it to your shell. You need to execute manually.
- run
fkill
and type process you want to kill.
fkill kills immediately. Press enter and process will be killed.
- add more functions to utilize full power of this tool.