From 0ab8f29d9e974aff2543963a53cfbf7fe3a1aef8 Mon Sep 17 00:00:00 2001 From: Andrei Astafev Date: Thu, 6 Feb 2025 10:12:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20fzf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 45-plugins.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/45-plugins.zsh b/45-plugins.zsh index 03681b7..58032ec 100644 --- a/45-plugins.zsh +++ b/45-plugins.zsh @@ -56,7 +56,7 @@ if command -v fzf > /dev/null 2>&1; then FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" FZF_ALT_C_COMMAND="fd --type d" fi - FZF_VERSION="$(fzf --version | sed -r 's/([0-9]+\.[0-9]+)\..*/\1/' )" + FZF_VERSION="$(fzf --version | sed -r 's/([0-9]+\.[0-9]+).*/\1/' )" zinit ice lucid wait'0' mv"completion.zsh -> _fzf" pick"_fzf" as"completion" if is-at-least "0.54" "$FZF_VERSION"; then zinit snippet "https://raw.githubusercontent.com/junegunn/fzf/refs/tags/v${FZF_VERSION}.0/shell/completion.zsh"