Apply FZF_COMPLETION_OPTS to kill completion
This commit is contained in:
parent
bd2763d863
commit
9a3cddc92e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user