summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLangLangBart <92653266+LangLangBart@users.noreply.github.com>2024-05-14 18:59:43 +0200
committerGitHub <noreply@github.com>2024-05-15 01:59:43 +0900
commit030428ba43671cf951712de41be6d3bfb84117c3 (patch)
treed74b52189c9fca0cd997dbbbf8dbb4a327becaa2 /README.md
parent8a110e02b9b33e9c0f1c901d61a84d92acb7094d (diff)
downloadfzf-030428ba43671cf951712de41be6d3bfb84117c3.tar.gz
docs: update zsh integration instructions (#3794)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 05a2b195..4a11587c 100644
--- a/README.md
+++ b/README.md
@@ -204,7 +204,7 @@ Add the following line to your shell configuration file.
* zsh
```sh
# Set up fzf key bindings and fuzzy completion
- eval "$(fzf --zsh)"
+ source <(fzf --zsh)
```
* fish
```fish
@@ -226,7 +226,7 @@ Add the following line to your shell configuration file.
> For example, to disable ALT-C binding:
>
> * bash: `FZF_ALT_C_COMMAND= eval "$(fzf --bash)"`
-> * zsh: `FZF_ALT_C_COMMAND= eval "$(fzf --zsh)"`
+> * zsh: `FZF_ALT_C_COMMAND= source <(fzf --zsh)`
> * fish: `fzf --fish | FZF_ALT_C_COMMAND= source`
>
> Setting the variables after sourcing the script will have no effect.