mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
parent
0fabd5f22f
commit
d91f4e83ef
@ -4,6 +4,8 @@ function fzf_setup_using_fzf() {
|
|||||||
# we remove "fzf " prefix, this fixes really old fzf versions behaviour
|
# we remove "fzf " prefix, this fixes really old fzf versions behaviour
|
||||||
# see https://github.com/ohmyzsh/ohmyzsh/issues/12387
|
# see https://github.com/ohmyzsh/ohmyzsh/issues/12387
|
||||||
local fzf_ver=${"$(fzf --version)"#fzf }
|
local fzf_ver=${"$(fzf --version)"#fzf }
|
||||||
|
|
||||||
|
autoload -Uz is-at-least
|
||||||
is-at-least 0.48.0 ${${(s: :)fzf_ver}[1]} || return 1
|
is-at-least 0.48.0 ${${(s: :)fzf_ver}[1]} || return 1
|
||||||
|
|
||||||
eval "$(fzf --zsh)"
|
eval "$(fzf --zsh)"
|
||||||
|
Loading…
Reference in New Issue
Block a user