Clarification on FZF_DEFAULT_COMMAND

This commit is contained in:
Junegunn Choi 2021-02-03 19:40:05 +09:00
parent 43b3b907f8
commit 1b61e5e9e9
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -264,6 +264,13 @@ or `py`.
- `FZF_DEFAULT_COMMAND`
- Default command to use when input is tty
- e.g. `export FZF_DEFAULT_COMMAND='fd --type f'`
- > :warning: This variable is not used by shell extensions due to the
> slight difference in requirements.
>
> (e.g. `CTRL-T` runs `$FZF_CTRL_T_COMMAND` instead, `vim **<tab>` runs
> `_fzf_compgen_path()`, and `cd **<tab>` runs `_fzf_compgen_dir()`)
>
> The available options are described later in this document.
- `FZF_DEFAULT_OPTS`
- Default options
- e.g. `export FZF_DEFAULT_OPTS="--layout=reverse --inline-info"`