Apply FZF_COMPLETION_OPTS to kill completion

This commit is contained in:
Junegunn Choi 2013-11-29 17:53:30 +09:00
parent bd2763d863
commit 9a3cddc92e
2 changed files with 1 additions and 3 deletions

View File

@ -275,8 +275,6 @@ the cursor ends with the trigger sequence which is by default `**`.
- `COMMAND [DIRECTORY/][FUZZY_PATTERN]**<TAB>`
#### Examples
```sh
# Files under current directory
# - You can select multiple items with TAB key

View File

@ -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