clarity20 / fasder

A descendant of fasd offering faster performance on Windows/Cygwin and (eventually) more...
MIT License
7 stars 1 forks source link

Reduce sedding, awking, pipelining in the "--query" handler #4

Open clarity20 opened 7 years ago

clarity20 commented 7 years ago

Further Cygwin-side speedups: Apply the techniques used elsewhere in fasder and discussed in the Optimization section of the README to the following section near the top of the "--query" handler:

if [ "$fnd" ]; then # dafault matching [. . . about 30 lines . . .] else # no query arugments