Pazi provides the --pipe option to allow filtering potential jump targets
through a program prior to being jumped to.
The main use-case for this feature is integration with fuzzy-finders like
fzf and skim.
z --pipe="fzf" foo may be used to filter all results matching z foo further
before jumping.
You may wish to make an alias, such as alias zf='z --pipe="fzf"', for ease of
use.
The program passed to --pipe should behave as follows:
- It should accept a list of newline separated strings on stdin.
- It should return one or more of the strings passed into it on stdout.
- It should exit 0 on success.
Examples of programs that may be used as pipe programs include fzf, sk,
head, sort -R, and so on.