Type:
zplug --version: 2.4.1
zsh --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/Linuxalias grep='grep -n'
source $ZPLUG_HOME/init.zsh
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:"fzf"
zplug check || zplug install
zplug load
grep as grep -n (--line-number)Failed to install junegunn/fzf-binhave 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.
Most helpful comment
This one works fine (maybe even without
rename-to:fzf:)