From e9507367fefece819bbcf0141a689197dc32ca71 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 6 Oct 2015 02:21:07 +0900 Subject: [PATCH] Updated Examples (completion) (markdown) --- Examples-(completion).md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples-(completion).md b/Examples-(completion).md index e6ea9d0..1cef461 100644 --- a/Examples-(completion).md +++ b/Examples-(completion).md @@ -21,9 +21,9 @@ _fzf_complete_doge() { The first argument to `_fzf_complete` is the options to fzf. The second argument is the usual arguments passed to the completion function, you can simply pass `"$@"` here. -You can see that the output of some arbitrary commands (4 echos) are fed into the function using process substitution `< <(...)`. The lines from the output of the enclosed commands become the completion candidates. +You can see that the output of some arbitrary commands (4 echos) are fed into the function using process substitution `< <(...)`. The output lines of the enclosed commands become the completion candidates. -zsh will automatically pick up the command but in bash you have to connect the function to the command using `complete` command. +zsh will automatically pick up the command using the naming convention but in bash you have to connect the function to the command using `complete` command. ```sh [ -n "$BASH" ] && complete -F _fzf_complete_doge -o default -o bashdefault doge