Browse Source

[#23] Convert completion into a module

master
Sorin Ionescu 13 years ago
parent
commit
92816f6db7
  1. 4
      .gitmodules
  2. 1
      completions
  3. 2
      init.zsh
  4. 0
      modules/completion/init.zsh

4
.gitmodules vendored

@ -1,5 +1,5 @@ @@ -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
completions

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

2
init.zsh

@ -26,7 +26,6 @@ zstyle -a ':omz:load' omodule 'omodules' @@ -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" @@ -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

0
completion.zsh → modules/completion/init.zsh

Loading…
Cancel
Save