diff options
| author | LangLangBart <92653266+LangLangBart@users.noreply.github.com> | 2024-05-14 18:59:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-15 01:59:43 +0900 |
| commit | 030428ba43671cf951712de41be6d3bfb84117c3 (patch) | |
| tree | d74b52189c9fca0cd997dbbbf8dbb4a327becaa2 /install | |
| parent | 8a110e02b9b33e9c0f1c901d61a84d92acb7094d (diff) | |
| download | fzf-030428ba43671cf951712de41be6d3bfb84117c3.tar.gz | |
docs: update zsh integration instructions (#3794)
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -265,7 +265,11 @@ fi EOF if [[ $auto_completion -eq 1 ]] && [[ $key_bindings -eq 1 ]]; then - echo "eval \"\$(fzf --$shell)\"" >> "$src" + if [[ "$shell" = zsh ]]; then + echo "source <(fzf --$shell)" >> "$src" + else + echo "eval \"\$(fzf --$shell)\"" >> "$src" + fi else cat >> "$src" << EOF # Auto-completion |
