mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-08 11:23:47 -05:00
docs: update zsh integration instructions (#3794)
This commit is contained in:
6
install
6
install
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user