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
724724bd
Commit
724724bd
authored
11 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Extend the list of commands for fzf-completion
parent
64541cb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fzf-completion.bash
+7
-6
7 additions, 6 deletions
fzf-completion.bash
with
7 additions
and
6 deletions
fzf-completion.bash
+
7
−
6
View file @
724724bd
...
...
@@ -78,16 +78,17 @@ for cmd in "cd pushd rmdir"; do
complete
-F
_fzf_dir_completion
-o
default
$cmd
done
FZF_COMPLETION_COMMANDS
=
${
FZF_COMPLETION_COMMANDS
:-
awk basename bunzip2 bzip2 c
url diff diff3 dirname du emacs ex file find ftp
g++ gcc git grep gunzip gvim gzip head hg jar java
javac jps ld less ls more
mvim open patch perl python rsync ruby scp
sed sftp sort svn tail tar tee
uniq unzip vi view vim wc zip
_
FZF_COMPLETION_COMMANDS
=
${
FZF_COMPLETION_COMMANDS
:-
awk basename bunzip2 bzip2 c
at chmod chown curl cp diff diff3 dirname du
emacs ex file find ftp
g++ gcc git grep gunzip gvim gzip head hg jar java
javac jps ld less ln ls more mv
mvim open patch perl python
rm
rsync ruby scp
sed sftp sort source svn tail tar tee
uniq unzip vi view vim wc zip
}
for
cmd
in
$FZF_COMPLETION_COMMANDS
;
do
for
cmd
in
$
_
FZF_COMPLETION_COMMANDS
;
do
complete
-F
_fzf_all_completion
-o
default
$cmd
done
unset
_FZF_COMPLETION_COMMANDS
bind
'"\e\e": complete'
bind
'"\er": redraw-current-line'
...
...
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