statico/dotfiles

Dotfile for fzf

mparrett opened this issue · 3 comments

Hi Ian,

Thanks for sharing your writing and code.

Do you use a specific fzf config? (As mentioned here)

If so, would you be willing to share any customizations via your dotfiles repo?

Best,
Matt Parrett

Hi Matt,

I don't have a ~/.fzf currently as that file references, and I'm not sure why I include it. I'll check my backups.

As for local customizations, here's my current .zshlocal on my current daily driver, a 2019 MacBook M1 Air. There are lots of customizations you might recognize from autojump, homebrew, yarn, pnpm, fly.io, and more.

colorprompt "38;5;46" '⬣ $(node --version)  $(git branch --show-current 2>/dev/null)'

bindkey -s '\ej' '^Ussh someserver^M'
#bindkey -s '\ej' '^Ussh someserver -t tmux att^M'

alias dk='cd ~/Desktop'
alias z=zapier
alias s=stripe

export HOMEBREW_NO_ANALYTICS=1
eval "$(/opt/homebrew/bin/brew shellenv)"

#source /opt/homebrew/opt/chruby/share/chruby/chruby.sh
#source /opt/homebrew/opt/chruby/share/chruby/auto.sh
_force_prepend_to_path ~/.rubies/ruby-3.1.2/bin

[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh

export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"

# pnpm
export PNPM_HOME="/Users/ian/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end

export AWS_PAGER=
export CLOUDSDK_PYTHON=python3
export NEXT_TELEMETRY_DISABLED=1

_prepend_to_path ~/.config/yarn/global/node_modules/.bin
_prepend_to_path ~/.yarn/bin
_append_to_path ~/dev/google-cloud-sdk/bin

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

eval "$(flyctl completion zsh)"

I looked through my backups and can't find any reference to a ~/.fzf directory other than one host where I had FZF built locally there. So, no idea!

Thank you, @statico !