Skip to content

Commit

Permalink
fix(fzf): source keybindings depending on os
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnorrby committed Nov 19, 2020
1 parent 3e04baa commit b3be4c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shell/zsh/fzf.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ fi

# Key bindings
# ------------
source "/usr/local/opt/fzf/shell/key-bindings.zsh"
if [[ "$(_os)" == "macos" ]] ; then
source "/usr/local/opt/fzf/shell/key-bindings.zsh"
else
source "/usr/share/fzf/key-bindings.zsh"
fi

# Customization
# -------------
Expand Down

0 comments on commit b3be4c1

Please sign in to comment.