So you've installed `fzf` – now what?
Two things I use fuzzy finder for:<p>1. flog: go to git branches I had checked out in the past quickly<p>2. pr: preview and check out PRs I&#x27;ve been assigned to review<p><pre><code>    flog () {
     branch=&quot;$(
        git branch --sort=-committerdate --format=&quot;%(committerdate:relative)	%(refname:short)	%(subject)&quot; \
        | column -ts $&#x27;\t&#x27; \
        | fzf \
        | sed &#x27;s&#x2F;.*ago \+\([^ ]*\) .*&#x2F;\1&#x2F;&#x27;
      )&quot; 
     git co $branch || (
      echo -n &quot;git co $branch&quot; | pbcopy
     )
    }

    errcho() {
      echo &quot;$@&quot; 1&gt;&amp;2
    }
    
    jq_query=$(cat &lt;&lt;- EOF
      map(
          { key: &quot;\(.number)&quot;
          , value:
            { line: &quot;\(.number):\(if .isDraft then &quot;&quot; else &quot; &quot; end):\(.author.login):\(.title):\(.headRefName)&quot;
            , body: &quot;# \(.number): \(.title)
    ## \(.headRefName)
    
    \(.body)&quot;
            }
          }
        )
      | from_entries
    EOF
    )
    
    pr () {
      local gh_user=${1:-}
    
      if [ -z &quot;$gh_user&quot; ]; then
        gh_user=&quot;@me&quot;
      fi
    
      tmpFile=$(mktemp &#x2F;tmp&#x2F;prs-XXXXXX.json)
    
      cleanup () {
        rm &quot;$tmpFile&quot;
      }
    
      trap cleanup EXIT
      gh pr list -S &quot;review-requested:${gh_user}&quot; \
      --json number,title,headRefName,body,author,isDraft \
      | jq -r &quot;$jq_query&quot; &gt; &quot;$tmpFile&quot;
    
      preview_command=&quot;\
        jq -r &#x27;.[\&quot;{1}\&quot;].body&#x27; $tmpFile \
        | pandoc -f gfm -t markdown      \
        | glow -s light -
      &quot;
      pr_number=$(
        jq -r \
          &#x27;to_entries | map(.value.line) | join(&quot;
    &quot;)&#x27; \
          &quot;$tmpFile&quot; \
        | column -t -s: \
        | fzf                            \
            --ansi                       \
            --delimiter=&#x27; &#x27;              \
            --preview=&quot;$preview_command&quot; \
            --preview-window=up:80%      \
        | grep -o &#x27;^[0-9]\+&#x27;
      )
    
      if [ -n &quot;$pr_number&quot; ]; then
        errcho &quot;checking out #$pr_number&quot;
        gh pr checkout &quot;$pr_number&quot; &amp;&amp; gh pr view --web &quot;$pr_number&quot; &amp;&amp; git pull || echo -e &quot;gh pr checkout $pr_number &amp;&amp; gh pr view --web $pr_number &amp;&amp; git pull&quot;
      else
        errcho &quot;canceled&quot;
      fi
    }</code></pre>