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
993e05da
Commit
993e05da
authored
Apr 08, 2011
by
Pat Regan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace redundant calls to compinit with a single call.
parent
2e949296
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
4 additions
and
19 deletions
+4
-19
completion.zsh
lib/completion.zsh
+0
-3
key-bindings.zsh
lib/key-bindings.zsh
+0
-2
oh-my-zsh.sh
oh-my-zsh.sh
+4
-0
brew.plugin.zsh
plugins/brew/brew.plugin.zsh
+0
-2
cpanm.plugin.zsh
plugins/cpanm/cpanm.plugin.zsh
+0
-2
gem.plugin.zsh
plugins/gem/gem.plugin.zsh
+0
-2
github.plugin.zsh
plugins/github/github.plugin.zsh
+0
-2
macports.plugin.zsh
plugins/macports/macports.plugin.zsh
+0
-2
pip.plugin.zsh
plugins/pip/pip.plugin.zsh
+0
-2
vagrant.plugin.zsh
plugins/vagrant/vagrant.plugin.zsh
+0
-2
No files found.
lib/completion.zsh
View file @
993e05da
...
@@ -9,9 +9,6 @@ setopt always_to_end
...
@@ -9,9 +9,6 @@ setopt always_to_end
WORDCHARS
=
''
WORDCHARS
=
''
autoload
-U
compinit
compinit
-i
zmodload
-i
zsh/complist
zmodload
-i
zsh/complist
## case-insensitive (all),partial-word and then substring completion
## case-insensitive (all),partial-word and then substring completion
...
...
lib/key-bindings.zsh
View file @
993e05da
# TODO: Explain what some of this does..
# TODO: Explain what some of this does..
autoload
-U
compinit
compinit
-i
bindkey
-e
bindkey
-e
bindkey
'\ew'
kill-region
bindkey
'\ew'
kill-region
...
...
oh-my-zsh.sh
View file @
993e05da
...
@@ -17,6 +17,10 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
...
@@ -17,6 +17,10 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
# Load the theme
# Load the theme
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
# Load and run compinit
autoload
-U
compinit
compinit
-i
# Check for updates on initial load...
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
then
then
...
...
plugins/brew/brew.plugin.zsh
View file @
993e05da
# add brew completion function to path
# add brew completion function to path
fpath
=(
$ZSH
/plugins/brew
$fpath
)
fpath
=(
$ZSH
/plugins/brew
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/cpanm/cpanm.plugin.zsh
View file @
993e05da
# add cpanm completion function to path
# add cpanm completion function to path
fpath
=(
$ZSH
/plugins/cpanm
$fpath
)
fpath
=(
$ZSH
/plugins/cpanm
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/gem/gem.plugin.zsh
View file @
993e05da
# add gem completion function to path
# add gem completion function to path
fpath
=(
$ZSH
/plugins/gem
$fpath
)
fpath
=(
$ZSH
/plugins/gem
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/github/github.plugin.zsh
View file @
993e05da
# add github completion function to path
# add github completion function to path
fpath
=(
$ZSH
/plugins/github
$fpath
)
fpath
=(
$ZSH
/plugins/github
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/macports/macports.plugin.zsh
View file @
993e05da
...
@@ -8,5 +8,3 @@ alias pup="psu && puo"
...
@@ -8,5 +8,3 @@ alias pup="psu && puo"
# add macports completion function to path
# add macports completion function to path
fpath
=(
$ZSH
/plugins/macports
$fpath
)
fpath
=(
$ZSH
/plugins/macports
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/pip/pip.plugin.zsh
View file @
993e05da
# add brew completion function to path
# add brew completion function to path
fpath
=(
$ZSH
/plugins/pip
$fpath
)
fpath
=(
$ZSH
/plugins/pip
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/vagrant/vagrant.plugin.zsh
View file @
993e05da
fpath
=(
$ZSH
/plugins/vagrant
$fpath
)
fpath
=(
$ZSH
/plugins/vagrant
$fpath
)
autoload
-U
compinit
compinit
-i
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