[#23] Convert completion into a module
This commit is contained in:
parent
4f06785949
commit
92816f6db7
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -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
|
2
init.zsh
2
init.zsh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue