Update README

This commit is contained in:
Junegunn Choi 2024-03-17 16:20:14 +09:00
parent b4efe7aab7
commit 0145b82ea0
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -220,16 +220,9 @@ Add the following line to your shell configuration file.
> You can disable CTRL-T or ALT-C binding by setting `FZF_CTRL_T_COMMAND` or > You can disable CTRL-T or ALT-C binding by setting `FZF_CTRL_T_COMMAND` or
> `FZF_ALT_C_COMMAND` to an empty string when sourcing the script. > `FZF_ALT_C_COMMAND` to an empty string when sourcing the script.
> For example, to disable ALT-C binding: > For example, to disable ALT-C binding:
> ```sh > * bash: `FZF_ALT_C_COMMAND= eval "$(fzf --bash)"`
> # bash > * zsh: `FZF_ALT_C_COMMAND= eval "$(fzf --zsh)"`
> FZF_ALT_C_COMMAND= eval "$(fzf --bash)" > * fish: `fzf --fish | FZF_ALT_C_COMMAND= source`
>
> # zsh
> FZF_ALT_C_COMMAND= eval "$(fzf --zsh)"
>
> # fish
> fzf --fish | FZF_ALT_C_COMMAND= source
> ```
> Setting the variables after sourcing the script will have no effect. > Setting the variables after sourcing the script will have no effect.
### As Vim plugin ### As Vim plugin