1 # AX-ZSH: Alex' Modular ZSH Configuration
4 # Test for local fzf installation ...
5 if [[ -r ~/.fzf.zsh ]]; then
10 # Make sure that "fzf(1)" is installed
11 (( $+commands[fzf] )) || return 1
13 # Test for Debian-specific keybinding location ...
14 if [[ -r /usr/share/doc/fzf/examples/key-bindings.zsh ]]; then
15 source /usr/share/zsh/vendor-completions/_fzf
16 source /usr/share/doc/fzf/examples/key-bindings.zsh
20 # Search for and read in FZF ZSH integration files
22 /usr/local/lib/fzf/shell
23 /usr/local/opt/fzf/shell
26 [[ -d "$dir" ]] || continue
27 source "$dir/completion.zsh"
28 source "$dir/key-bindings.zsh"