Skip to content
Myr

Update FZF_DEFAULT_COMMAND example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 14f0d20 · Browse files · 1 file+5 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−3 removed

  • other:+5 added−3 removed

1 file+5 added−3 removed

modified:README.md+5 added-3 removed
130 unmodified lines
131#### Environment variables132133- `FZF_DEFAULT_COMMAND`134 - Default command to use when input is tty135 - e.g. `export FZF_DEFAULT_COMMAND='ag -g ""'`136- `FZF_DEFAULT_OPTS`137 - Default options136 - Default options. e.g. `export FZF_DEFAULT_OPTS="--reverse --inline-info"`138 - e.g. `export FZF_DEFAULT_OPTS="--reverse --inline-info"`139140Examples141--------142
193 unmodified lines
336filtering:337338```sh339# Feed the output of ag into fzf338ag -l -g "" | fzf340ag -g "" | fzf341342# Setting ag as the default source for fzf341export FZF_DEFAULT_COMMAND='ag -l -g ""'343export FZF_DEFAULT_COMMAND='ag -g ""'344345# Now fzf (w/o pipe) will use ag instead of find346fzf347
36 unmodified lines