mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +00:00
[bash-completion] Fix #417 - Update command list
This commit is contained in:
parent
d29ae1c462
commit
57a37b5832
11
README.md
11
README.md
@ -261,6 +261,17 @@ export FZF_COMPLETION_TRIGGER='~~'
|
|||||||
export FZF_COMPLETION_OPTS='+c -x'
|
export FZF_COMPLETION_OPTS='+c -x'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Supported commands
|
||||||
|
|
||||||
|
On bash, fuzzy completion is enabled only for a predefined set of commands
|
||||||
|
(`complete | grep _fzf` to see the list). But you can enable it for other
|
||||||
|
commands as well like follows.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# There are also _fzf_path_completion and _fzf_dir_completion
|
||||||
|
complete -F _fzf_file_completion -o default -o bashdefault doge
|
||||||
|
```
|
||||||
|
|
||||||
Usage as Vim plugin
|
Usage as Vim plugin
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
@ -241,9 +241,9 @@ complete -o default -F _fzf_opts_completion fzf
|
|||||||
d_cmds="cd pushd rmdir"
|
d_cmds="cd pushd rmdir"
|
||||||
f_cmds="
|
f_cmds="
|
||||||
awk cat diff diff3
|
awk cat diff diff3
|
||||||
emacs ex file ftp g++ gcc gvim head hg java
|
emacs emacsclient ex file ftp g++ gcc gvim head hg java
|
||||||
javac ld less more mvim nvim patch perl python ruby
|
javac ld less more mvim nvim patch perl python ruby
|
||||||
sed sftp sort source tail tee uniq vi view vim wc"
|
sed sftp sort source tail tee uniq vi view vim wc xdg-open"
|
||||||
a_cmds="
|
a_cmds="
|
||||||
basename bunzip2 bzip2 chmod chown curl cp dirname du
|
basename bunzip2 bzip2 chmod chown curl cp dirname du
|
||||||
find git grep gunzip gzip hg jar
|
find git grep gunzip gzip hg jar
|
||||||
|
Loading…
Reference in New Issue
Block a user