anchor.diff:              #   push --foo -f
               #   push --force --foo
               #   push --f --foo
  -            if echo $@ | rg --quiet 'push .*(-f|--force)( |$)'; then
  +            if echo $@ | ${pkgs.ripgrep}/bin/rg --quiet 'push .*(-f|--force)( |$)'; then
                 # todo: refactor colors to a general funciton
                 RED='\033[0;31m'
                 NC='\033[0m' # No Color
  
positive.code:           # fancy git + fzf
            # todo: refactor this into its own script and just source it
            is_in_git_repo() {
              git rev-parse HEAD > /dev/null 2>&1
            }
            _fzf() {
              fzf "$@" --multi --ansi --border
            }
            fzf_pick_git_commit() {
              is_in_git_repo || return
  
negative.code:             # familiar with how it looks. I am just reusing most of the logic here.
              # I force `--color` becuase git will output this without color by
              # default.
              ${pkgs.git}/bin/git log --color --pretty=format:'%Cred%h%Creset -%G?-%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' |
              _fzf --no-sort --reverse \
                --preview '${pkgs.gnugrep}/bin/grep -o "[a-f0-9]\{7,\}" <<< {} | ${pkgs.findutils}/bin/xargs ${pkgs.git}/bin/git show --color=always | head -'$LINES |
              grep -o "[a-f0-9]\{7,\}"
            }
            fzf_pick_git_tag() {
              is_in_git_repo || return
              ${pkgs.git}/bin/git tag --sort -version:refname |
              _fzf --preview-window right:70% \
                --preview '${pkgs.git}/bin/git show --color=always {} | head -'$LINES
            }
            fzf_pick_git_remote() {
              is_in_git_repo || return
              ${pkgs.git}/bin/git remote -v | ${pkgs.gawk}/bin/awk '{print $1 "\t" $2}' | uniq |
              _fzf --tac \
                --preview '${pkgs.git}/bin/git log --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
              cut -d$'\t' -f1
            }
            fzf_pick_git_branch() {
              is_in_git_repo || return
              ${pkgs.git}/bin/git branch -a --color=always | grep -v '/HEAD\s' | sort |
              _fzf  --tac --preview-window right:70% \
                --preview '${pkgs.git}/bin/git log --oneline --graph --date=short --color=always --pretty="format:%C(auto)%cd %h%d %s" $(sed s/^..// <<< {} | cut -d" " -f1) | head -'$LINES |
              sed 's/^..//' | cut -d' ' -f1 |
              sed 's#^remotes/##'
            }
  