Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fzf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
fzf
Commits
57a37b58
Commit
57a37b58
authored
9 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
[bash-completion] Fix #417 - Update command list
parent
d29ae1c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-0
11 additions, 0 deletions
README.md
shell/completion.bash
+2
-2
2 additions, 2 deletions
shell/completion.bash
with
13 additions
and
2 deletions
README.md
+
11
−
0
View file @
57a37b58
...
...
@@ -261,6 +261,17 @@ export FZF_COMPLETION_TRIGGER='~~'
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
-------------------
...
...
This diff is collapsed.
Click to expand it.
shell/completion.bash
+
2
−
2
View file @
57a37b58
...
...
@@ -241,9 +241,9 @@ complete -o default -F _fzf_opts_completion fzf
d_cmds
=
"cd pushd rmdir"
f_cmds
=
"
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
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
=
"
basename bunzip2 bzip2 chmod chown curl cp dirname du
find git grep gunzip gzip hg jar
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment