[#23] Convert completion into a module

This commit is contained in:
Sorin Ionescu 2012-03-28 14:29:45 -04:00
parent 4f06785949
commit 92816f6db7
4 changed files with 2 additions and 5 deletions

4
.gitmodules vendored
View File

@ -1,5 +1,5 @@
[submodule "completions"]
path = completions
[submodule "modules/completion/completions"]
path = modules/completion/completions
url = https://github.com/zsh-users/zsh-completions.git
[submodule "modules/history-substring-search/external"]
path = modules/history-substring-search/external

@ -1 +0,0 @@
Subproject commit f6108b8c4250565611a08b164cfdc85e6c76ee88

View File

@ -26,7 +26,6 @@ zstyle -a ':omz:load' omodule 'omodules'
fpath=(
${0:h}/themes/*(/FN)
${omodules:+${0:h}/modules/${^omodules}/{functions,completions}(/FN)}
${0:h}/{functions,completions}(/FN)
$fpath
)
@ -52,7 +51,6 @@ source "${0:h}/helper.zsh"
source "${0:h}/environment.zsh"
source "${0:h}/terminal.zsh"
source "${0:h}/editor.zsh"
source "${0:h}/completion.zsh"
# Source modules defined in ~/.zshrc.
for omodule in "$omodules[@]"; do