or....use: https://github.com/junegunn/fzf
example:
fzf --height 60% --layout=reverse --border --preview 'bat {}'
gives you a nice fuzzy search interface and uses bat for previews brew install fzf bat