junegunn/fzf — pull request #109 by brettanomyces (2014-12-11 19:40:36+00:00)
Title: pipe fish history through tac to reverse the order

fishshell's history command outputs the command in first to last order, meaning the oldest command gets printed to screen last. When we pipe this to fzf it means that of the commands matching the search string, the command that we used last (and I think the one we are most likely go be wanting to use again) is at the top of the list, meaning we need to type more characters to narrow down the search or use the arrow keys before selecting it.

tac simply reverses the out put of the history command.

This brings it in to line with bash and zsh's ordering.