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
7c7a30c4
Commit
7c7a30c4
authored
9 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Plain Diff
Merge pull request #364 from halostatue/use-zsh-regex-module
Remove dependency on zsh/pcre module
parents
6a38d07a
ea271cd4
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
install
+3
-3
3 additions, 3 deletions
install
shell/key-bindings.zsh
+1
-1
1 addition, 1 deletion
shell/key-bindings.zsh
with
4 additions
and
4 deletions
install
+
3
−
3
View file @
7c7a30c4
...
...
@@ -185,7 +185,7 @@ for shell in bash zsh; do
echo
-n
"Generate ~/.fzf.
$shell
... "
src
=
~/.fzf.
${
shell
}
fzf_completion
=
"[[
\$
- =
~ i
]] && source
\"
$fzf_base
/shell/completion.
${
shell
}
\"
2> /dev/null"
fzf_completion
=
"[[
\$
- =
= *i*
]] && source
\"
$fzf_base
/shell/completion.
${
shell
}
\"
2> /dev/null"
if
[
$auto_completion
-ne
0
]
;
then
fzf_completion
=
"#
$fzf_completion
"
fi
...
...
@@ -198,13 +198,13 @@ for shell in bash zsh; do
cat
>
$src
<<
EOF
# Setup fzf
# ---------
if [[ ! "
\$
PATH" =
~ "
$fzf_base
/bin
"
]]; then
if [[ ! "
\$
PATH" =
= *
$fzf_base
/bin
*
]]; then
export PATH="
\$
PATH:
$fzf_base
/bin"
fi
# Man path
# --------
if [[ ! "
\$
MANPATH" =
~ "
$fzf_base
/man
"
&& -d "
$fzf_base
/man" ]]; then
if [[ ! "
\$
MANPATH" =
= *
$fzf_base
/man
*
&& -d "
$fzf_base
/man" ]]; then
export MANPATH="
\$
MANPATH:
$fzf_base
/man"
fi
...
...
This diff is collapsed.
Click to expand it.
shell/key-bindings.zsh
+
1
−
1
View file @
7c7a30c4
# Key bindings
# ------------
if
[[
$-
=
~ i
]]
;
then
if
[[
$-
=
=
*
i
*
]]
;
then
# CTRL-T - Paste the selected file path(s) into the command line
__fsel
()
{
...
...
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