From 8364968e2f53a70561f595b555769b0d34a9e03e Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Fri, 23 Dec 2022 16:44:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20fd=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=D0=B0=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 45-plugins.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/45-plugins.zsh b/45-plugins.zsh index f893c17..c8e5335 100644 --- a/45-plugins.zsh +++ b/45-plugins.zsh @@ -47,6 +47,12 @@ if command -v git-lfs > /dev/null 2>&1; then fi if command -v fzf > /dev/null 2>&1; then + FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border' + if command -v fd > /dev/null 2>&1; then + FZF_DEFAULT_COMMAND="fd --type f" + FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" + FZF_ALT_C_COMMAND="fd --type d" + fi if is-at-least "0.34" "$(fzf --version | awk '{ print $1; }')"; then zinit ice lucid wait'0' mv"completion.zsh -> _fzf" pick"_fzf" as"completion" zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh