Don't track new files in submodules from main repo
Prevent main repo `git status` reporting submodules having new files. New files are usually zcompiled zsh files. There's no way to .gitignore from main repo specific files in submodules Closes #297
This commit is contained in:
parent
c50a0153d2
commit
1e3cee4715
1 changed files with 7 additions and 0 deletions
7
.gitmodules
vendored
7
.gitmodules
vendored
|
@ -1,21 +1,28 @@
|
||||||
[submodule "modules/history-substring-search/external"]
|
[submodule "modules/history-substring-search/external"]
|
||||||
path = modules/history-substring-search/external
|
path = modules/history-substring-search/external
|
||||||
url = https://github.com/zsh-users/zsh-history-substring-search.git
|
url = https://github.com/zsh-users/zsh-history-substring-search.git
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/completion/external"]
|
[submodule "modules/completion/external"]
|
||||||
path = modules/completion/external
|
path = modules/completion/external
|
||||||
url = https://github.com/zsh-users/zsh-completions.git
|
url = https://github.com/zsh-users/zsh-completions.git
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/syntax-highlighting/external"]
|
[submodule "modules/syntax-highlighting/external"]
|
||||||
path = modules/syntax-highlighting/external
|
path = modules/syntax-highlighting/external
|
||||||
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
|
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/prompt/external-themes/pure"]
|
[submodule "modules/prompt/external-themes/pure"]
|
||||||
path = modules/prompt/external-themes/pure
|
path = modules/prompt/external-themes/pure
|
||||||
url = https://github.com/sindresorhus/pure.git
|
url = https://github.com/sindresorhus/pure.git
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/prompt/external-themes/liquidprompt"]
|
[submodule "modules/prompt/external-themes/liquidprompt"]
|
||||||
path = modules/prompt/external-themes/liquidprompt
|
path = modules/prompt/external-themes/liquidprompt
|
||||||
url = https://github.com/nojhan/liquidprompt.git
|
url = https://github.com/nojhan/liquidprompt.git
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/prompt/external-themes/lean"]
|
[submodule "modules/prompt/external-themes/lean"]
|
||||||
path = modules/prompt/external-themes/lean
|
path = modules/prompt/external-themes/lean
|
||||||
url = https://github.com/miekg/lean
|
url = https://github.com/miekg/lean
|
||||||
|
ignore = untracked
|
||||||
[submodule "modules/autosuggestions/external"]
|
[submodule "modules/autosuggestions/external"]
|
||||||
path = modules/autosuggestions/external
|
path = modules/autosuggestions/external
|
||||||
url = https://github.com/zsh-users/zsh-autosuggestions.git
|
url = https://github.com/zsh-users/zsh-autosuggestions.git
|
||||||
|
ignore = untracked
|
||||||
|
|
Loading…
Reference in a new issue