export GPG_TTY=$(tty)
# FZF Config
-export FZF_DEFAULT_COMMAND='/usr/local/bin/rg --color never --files --hidden -g \!.git'
+export FZF_DEFAULT_COMMAND='/usr/bin/env rg --color never --files --hidden -g \!.git'
export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | head -500'''
# Z
source "${ZDOTDIR:-$HOME}/.zshrc.local"
fi
-eval $(/usr/libexec/path_helper -s)
+if command -v brew &> /dev/null; then
+ eval $(/usr/libexec/path_helper -s)
+fi
# ASDF
-. $(brew --prefix asdf)/asdf.sh
+if ! command -v brew &> /dev/null; then
+ . $HOME/.asdf/asdf.sh
+else
+ . $(brew --prefix asdf)/asdf.sh
+fi