Skip to content

pschmitt/fzf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

junegunn/fzf as a Zsh package

Homepage link: junegunn/fzf
Package source: Source Tarball Binary Git Node Gem
Status: +
(default)
+ + -

Zplugin can use the NPM package registry to automatically:

  • get the plugin's Git repository OR release-package URL,
  • get the list of the recommended ices for the plugin,
    • there can be multiple lists of ices,
    • the ice lists are stored in profiles; there's at least one profile, default,
    • the ices can be selectively overriden.

Example invocations that'll install junegunn/fzf either from the release archive or from Git repository:

# Download the package with the default ice list
zplugin pack for fzf

# Download the package with the default ice list + setting up the key bindings
zplugin pack"default+keys" for fzf

# Download the package with the bin-gem-node annex-utilizing ice list
zplugin pack"bgn" for fzf

# Download the package with the bin-gem-node annex-utilizing ice list
# + setting up the key bindings. The "+keys" variants are available
# for each profile
zplugin pack"bgn+keys" for fzf

# Download with the bin-gem-node annex-utilizing ice list FROM GIT REPOSITORY
zplugin pack"bgn" git for fzf

# Download the binary from the Github releases (like from'gh-r' ice)
zplugin pack"binary" for fzf

# Download the binary from the Github releases and install via Bin-Gem-Node shims
zplugin pack"bgn-binary" for fzf

Default Profile

Provides the fuzzy finder via Makefile-installation of the fzf binary under $ZPFX/bin.

zplugin lucid as=program pick="$ZPFX/bin/(fzf|fzf-tmux)" \
    atclone="cp shell/completion.zsh _fzf_completion; cp bin/fzf-tmux $ZPFX/bin" \
    make="PREFIX=$ZPFX install" \
    …

Bin-Gem-Node Profile

Provides the fuzzy finder via shims, i.e.: automatic forwarder scripts created under $ZPFX/bin (which is added to the $PATH by default). It needs the bin-gem-node annex.

zplugin lucid as=null make \
    atclone="cp shell/completion.zsh _fzf_completion" \
    sbin="fzf;bin/fzf-tmux" \
    …

About

A command-line fuzzy finder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published