12 ms·
I concur. I saw this tool to find pytest cases after I implemented my own simple fzf shell function that uses bat for preview. https://github.com/dbaty/testfi
by petr_tik 5y ago
I concur.
I saw this tool to find pytest cases after I implemented my own simple fzf shell function that uses bat for preview.
https://github.com/dbaty/testfinder https://github.com/dbaty/testfinder
I also implemented simple bash functions to:
+ Select a CMake target to build
Extract all add_executables defined in the CMakeLists of my project directory and pipe the fzf selection to cmake to build
+ Find and sort (by mtime) all compiled executables placed in the cmake build directory
It can be hard to remember the path of the executable produced by cmake, so i find all executable files in the cmake build dir, ls -alh, sort them by mtime (you want to execute the most recently compiled binary) and pipe to fzf
Any time I pipe something to grep, I think if this could become an fzf-based command. Highly recommend people do the same with their workflows.