Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
a9c88209
Commit
a9c88209
authored
Sep 29, 2015
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4426 from apjanke/turn-off-3889-by-default
completion: turn off the #3889 compfix check by default
parents
52e2aaee
4589bc6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
oh-my-zsh.sh
oh-my-zsh.sh
+12
-6
No files found.
oh-my-zsh.sh
View file @
a9c88209
...
...
@@ -11,6 +11,8 @@ fpath=($ZSH/functions $ZSH/completions $fpath)
# Load all stock functions (from $fpath files) called below.
autoload
-U
compaudit compinit
:
${
ZSH_DISABLE_COMPFIX
:
=true
}
# Set ZSH_CUSTOM to the path where your custom config files
# and plugins exists, or else we will use the default custom/
if
[[
-z
"
$ZSH_CUSTOM
"
]]
;
then
...
...
@@ -62,13 +64,17 @@ if [ -z "$ZSH_COMPDUMP" ]; then
ZSH_COMPDUMP
=
"
${
ZDOTDIR
:-${
HOME
}}
/.zcompdump-
${
SHORT_HOST
}
-
${
ZSH_VERSION
}
"
fi
# If completion insecurities exist, warn the user without enabling completions.
if
!
compaudit &>/dev/null
;
then
# This function resides in the "lib/compfix.zsh" script sourced above.
handle_completion_insecurities
# Else, enable and cache completions to the desired file.
if
[[
$ZSH_DISABLE_COMPFIX
!=
true
]]
;
then
# If completion insecurities exist, warn the user without enabling completions.
if
!
compaudit &>/dev/null
;
then
# This function resides in the "lib/compfix.zsh" script sourced above.
handle_completion_insecurities
# Else, enable and cache completions to the desired file.
else
compinit
-d
"
${
ZSH_COMPDUMP
}
"
fi
else
compinit
-d
"
${
ZSH_COMPDUMP
}
"
compinit
-
i
-
d
"
${
ZSH_COMPDUMP
}
"
fi
# Load all of the plugins that were defined in ~/.zshrc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment