Адрес загрузки плагинов для fzf
This commit is contained in:
parent
ee02aea5a7
commit
ffb71f5600
@ -58,12 +58,12 @@ if command -v fzf > /dev/null 2>&1; then
|
||||
fi
|
||||
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.37" "$FZF_VERSION"; then
|
||||
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"
|
||||
zinit snippet "https://raw.githubusercontent.com/junegunn/fzf/refs/tags/v${FZF_VERSION}.0/shell/key-bindings.zsh"
|
||||
else
|
||||
zinit snippet "https://github.com/junegunn/fzf/blob/${FZF_VERSION}.0/shell/completion.zsh"
|
||||
zinit snippet "https://github.com/junegunn/fzf/blob/${FZF_VERSION}.0/shell/completion.zsh"
|
||||
zinit snippet "https://raw.githubusercontent.com/junegunn/fzf/refs/tags/${FZF_VERSION}.0/shell/completion.zsh"
|
||||
zinit snippet "https://raw.githubusercontent.com/junegunn/fzf/refs/tags/${FZF_VERSION}.0/shell/key-bindings.zsh"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user