Skip to content

z-shell/fzf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zi Logo ❮ Zi package - fzf ❯

A command-line fuzzy finder

Package source: Source Tarball Binary Git Node Gem
Status: ✔️ (default) ✔️ ✔️

zi package fzf


💡 Wiki: packages | annexes

Available pack'' invocations

# Download the package with the default ice list
zi pack for fzf
# Download the package with the default ice list + setting up the key bindings
zi pack"default+keys" for fzf
# Download the package with the bin-gem-node annex-utilizing ice list
zi 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
zi pack"bgn+keys" for fzf
# Download with the bin-gem-node annex-utilizing ice list FROM GIT REPOSITORY
zi pack"bgn" git for fzf
# Download the binary from the Github releases (like from'gh-r' ice)
zi pack"binary" for fzf
# Download the binary from the Github releases and install via Bin-Gem-Node shims
zi pack"bgn-binary" for fzf

Default Profile

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

zi 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.

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

This repository compatible with Zi

The junegunn/fzf zsh package that uses the zsh-string-lib 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 overridden.