git: Load OS-specific config
This commit is contained in:
parent
18ca34744d
commit
de2065a17b
4 changed files with 7 additions and 0 deletions
|
|
@ -4,3 +4,4 @@
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
~/.config/zsh/os.zshrc: zsh/darwin.zshrc
|
~/.config/zsh/os.zshrc: zsh/darwin.zshrc
|
||||||
|
~/.config/git/config-os: git/config-darwin
|
||||||
|
|
|
||||||
1
git/.gitignore
vendored
Normal file
1
git/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
config-os
|
||||||
|
|
@ -41,5 +41,8 @@
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path = config-os
|
||||||
|
|
||||||
[includeIf "gitdir:~/projects/"]
|
[includeIf "gitdir:~/projects/"]
|
||||||
path = config-personal
|
path = config-personal
|
||||||
|
|
|
||||||
2
git/config-darwin
Normal file
2
git/config-darwin
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[credential]
|
||||||
|
helper = osxkeychain
|
||||||
Loading…
Add table
Add a link
Reference in a new issue