diff --git a/README.md b/README.md index 0f071e7..c81b9e4 100644 --- a/README.md +++ b/README.md @@ -275,8 +275,6 @@ the cursor ends with the trigger sequence which is by default `**`. - `COMMAND [DIRECTORY/][FUZZY_PATTERN]**` -#### Examples - ```sh # Files under current directory # - You can select multiple items with TAB key diff --git a/fzf-completion.bash b/fzf-completion.bash index beb39ee..383122d 100644 --- a/fzf-completion.bash +++ b/fzf-completion.bash @@ -86,7 +86,7 @@ _fzf_dir_completion() { _fzf_kill_completion() { local selected tput sc - selected=$(ps -ef | sed 1d | fzf -m | awk '{print $2}' | tr '\n' ' ') + selected=$(ps -ef | sed 1d | fzf -m $FZF_COMPLETION_OPTS | awk '{print $2}' | tr '\n' ' ') tput rc if [ -n "$selected" ]; then