joelthelion/autojump — pull request #331 by kevinburke (2014-11-25 23:46:34+00:00)
Title: Cache result of brew --prefix

brew --prefix runs Ruby, which is fairly expensive in system startup (somewhere
around 50-100 milliseconds on my machine). Instead of calling it twice, cache
the output and reuse it in the second command