blob: 82f4aa771291cbbd0c7cb860c51efc2b1fff9ad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# zshenv/99_fzf
#
# Set up fzf (https://github.com/junegunn/fzf)
#
# Copyright © 2022 Tobias Klauser <tklauser@distanz.ch>
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
FZF="${HOME}/.fzf"
# Installed using Homebrew
[ -d $FZF ] || FZF="/usr/local/opt/fzf"
if [ -d $FZF ] ; then
path_append $FZF/bin
# Auto-completion
[[ $- == *i* ]] && source "${FZF}/shell/completion.zsh" 2> /dev/null
# Key bindings
source "${FZF}/shell/key-bindings.zsh"
fi
|