Версия fzf

This commit is contained in:
Andrei Astafev 2025-02-06 10:12:43 +03:00
parent ffb71f5600
commit 0ab8f29d9e

View File

@ -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"