Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
993e05da
Commit
993e05da
authored
Apr 08, 2011
by
Pat Regan
Browse files
Replace redundant calls to compinit with a single call.
parent
2e949296
Changes
10
Hide whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
993e05da
...
...
@@ -9,9 +9,6 @@ setopt always_to_end
WORDCHARS
=
''
autoload
-U
compinit
compinit
-i
zmodload
-i
zsh/complist
## case-insensitive (all),partial-word and then substring completion
...
...
lib/key-bindings.zsh
View file @
993e05da
# TODO: Explain what some of this does..
autoload
-U
compinit
compinit
-i
bindkey
-e
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
# Load the theme
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
# Load and run compinit
autoload
-U
compinit
compinit
-i
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
then
...
...
plugins/brew/brew.plugin.zsh
View file @
993e05da
# add brew completion function to path
fpath
=(
$ZSH
/plugins/brew
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/cpanm/cpanm.plugin.zsh
View file @
993e05da
# add cpanm completion function to path
fpath
=(
$ZSH
/plugins/cpanm
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/gem/gem.plugin.zsh
View file @
993e05da
# add gem completion function to path
fpath
=(
$ZSH
/plugins/gem
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/github/github.plugin.zsh
View file @
993e05da
# add github completion function to path
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"
# add macports completion function to path
fpath
=(
$ZSH
/plugins/macports
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/pip/pip.plugin.zsh
View file @
993e05da
# add brew completion function to path
fpath
=(
$ZSH
/plugins/pip
$fpath
)
autoload
-U
compinit
compinit
-i
plugins/vagrant/vagrant.plugin.zsh
View file @
993e05da
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