fzf

    • Speed
    • Highly customizable

    Use homebrew to install fzf:

    If you want to use shell extensions:

    1. /usr/local/opt/fzf/install
    • Key bindings (CTRL-T, CTRL-R, and ) (available for bash, zsh and fish)
    • Fuzzy auto-completion (available for bash and zsh)

    or

    1. subl **

    Chrome history from CLI

    Open up shell config (most likely ~/.zshrc or command zshconfig) and add following function:

    1. # ch - browse chrome history
    2. ch() {
    3. local cols sep
    4. sep='{::}'
    5. cp -f ~/Library/Application\ Support/Google/Chrome/Profile\ 1/History /tmp/h
    6. sqlite3 -separator $sep /tmp/h \
    7. "select substr(title, 1, $cols), url
    8. from urls order by last_visit_time desc" |
    9. awk -F $sep '{printf "%-'$cols's \x1b[36m%s\x1b[m\n", $1, $2}' |
    10. }