commit 0c7d73e8b1600b5792372f63531fe7830ac8f3c0
parent a83459e0e82f63dbe784df24561e179b477a38bb
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 21 Apr 2021 21:46:20 +0200
shell: add fzf to path
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/shell/paths b/shell/paths
@@ -17,6 +17,7 @@
[ -d "$DOTFILES/tools/shfm" ] && [ -n "${PATH##*"$DOTFILES/tools/shfm"*}" ] && PATH="$DOTFILES/tools/shfm:$PATH"
[ -d "$DOTFILES/tools/pfetch" ] && [ -n "${PATH##*"$DOTFILES/tools/pfetch"*}" ] && PATH="$DOTFILES/tools/pfetch:$PATH"
[ -d "$DOTFILES/tools/tuxi" ] && [ -n "${PATH##*"$DOTFILES/tools/tuxi"*}" ] && PATH="$DOTFILES/tools/tuxi:$PATH"
+[ -d "$DOTFILES/tools/fzf/bin" ] && [ -n "${PATH##*"$DOTFILES/tools/fzf/bin"*}" ] && PATH="$DOTFILES/tools/fzf/bin:$PATH"
[ -d "$XDG_DATA_HOME/perl5/bin" ] && [ -n "${PATH##*"$XDG_DATA_HOME/perl5/bin"*}" ] && PATH="$XDG_DATA_HOME/perl5/bin:$PATH"
command -v rbenv 1>/dev/null 2>&1 && eval "$(rbenv init -)"
diff --git a/shell/zshrc b/shell/zshrc
@@ -67,7 +67,8 @@ source_if_exists ~/.p10k.zsh
source_if_exists $DOTFILES/shell/powerlevel10k/powerlevel10k.zsh-theme
# FZF for fuzzy finding
-source_if_exists "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh
+source_if_exists "$DOTFILES"/tools/fzf/shell/completion.zsh
+source_if_exists "$DOTFILES"/tools/fzf/shell/key-bindings.zsh
# Ruby bundler plugin, automatically runs binstub in .bin or `bundle exec`s
source_if_exists $DOTFILES/shell/zsh-plugins/bundler.plugin.zsh