Skip to content

Commit

Permalink
fix: incorrect FZF path on M1-chip macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Nov 19, 2024
1 parent a3918b7 commit ecc0507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ if type brew &>/dev/null; then
compinit
fi

# FZF: fuzzy finderls
if [[ $OSTYPE == darwin* ]]; then
FZF="/usr/local/opt/fzf/shell/"
# FZF: fuzzy finder
if (( $+commands[brew] )); then
FZF="$(brew --prefix)/opt/fzf/shell/"
elif (( $+commands[apt-get] )); then
FZF="/usr/share/doc/fzf/examples/"
else
Expand Down

0 comments on commit ecc0507

Please sign in to comment.