Open bootleq opened 7 years ago
have this issue fixed?
This one works fine (maybe even without rename-to:fzf
:)
zplug "junegunn/fzf", from:github, as:command, rename-to:fzf, hook-build:"./install --all"
I use a variation of the above:
zplug "junegunn/fzf", hook-build:"./install --bin", use:"shell/*.zsh", defer:2
if zplug check junegunn/fzf; then
FZF_DEFAULT_OPTS="--multi --reverse --inline-info"
PATH=$HOME/.zplug/repos/junegunn/fzf/bin:$PATH
fi
This lets me not update ~/.zshrc
via fzf hook-build (as its tracked elsewhere) and still customize fzf behavior.
I’ve settled with slightly modified @zakame’s version
zplug "junegunn/fzf", \
hook-build:"./install --bin && ln -frs $ZPLUG_REPOS/junegunn/fzf/bin/fzf* $ZPLUG_BIN", \
use:"shell/*.zsh"
Type:
zplug --version
: 2.4.1zsh --version
: zsh 5.3.1 (x86_64-unknown-linux-gnu)uname -a
: Linux vagrant-ubuntu-trusty-64 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxMinimal zshrc (with less than 30 lines)
Step to reproduce
grep
asgrep -n
(--line-number
)Failed to install junegunn/fzf-bin