Skip to content

correct way to use fzf binary, key-bindings and completion with zinit #359

Discussion options

You must be logged in to vote

I condensed the URLs using brace expansion (which can be optimized further).

zi for \
    as'command' \
    dl="$(print -c https://raw.githubusercontent.com/junegunn/fzf/master/{shell/{'key-bindings.zsh;','completion.zsh -> _fzf;'},man/{'man1/fzf.1 -> $ZPFX/share/man/man1/fzf.1;','man1/fzf-tmux.1 -> $ZPFX/share/man/man1/fzf-tmux.1;'}})" \
    from'gh-r' \
    null \
    pick'fzf' \
    src'key-bindings.zsh' \
  @junegunn/fzf

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@ngocphamm
Comment options

@jankatins
Comment options

@ngocphamm
Comment options

@jankatins
Comment options

@vladdoster
Comment options

Answer selected by vladdoster
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
5 participants