often i am looking at a bunch of files (think grep, git status), and then run a command on one of the files.
normally i reach over to the mouse, select and copy the filename, type in my command and paste. there is definitely some way of accomplishing this without having to mouse around. however, the list of things i know in 2016 look like this:
☐ how to use my terminal
☑ cobbling together bash scripts
so, here’s a script! it works with ag, a grep like tool, and then filters the results with selecta, a great fuzzy text searching tool.
i’ve also got one for git status, which i have aliased to
you can see the source for agg and agg-git on github.
⇢ minimal bdd in ruby
⇠ more wood projects