run script fuzzy

If you're like me, then you've possibly built up quite a few bash scripts that can help you with doing various things while operating the command line.


As you build up more and more tools, you'll want to stay organized, for me this starts out as using nested directories to induce a hierarchy that helps me locate relevant files. This should work fine, and just remember to have good naming conventions so you can remember the paths to your tools.

Once you have more than 20+ personal tools, in a good hierarchy, it might be time to invest in faster ways to use these tools. For me I knew the time had come when I found myself typing ~/common_dirs/toolbox/linux/filesystem/find/ many times in a week.

One solution to this dilemma is to use:, with it we can make the following script

Note that our hierarchy was not a waste of time because if we forgot the script name, we just have to remember one of the ancestor directories it is located in, and fzf will filter out all other files, which will probably show us our file of interest quickly.

comments section