Updated .gitconfig with distro_family for smaller list
This commit is contained in:
parent
79edad5267
commit
c42215ae8b
1 changed files with 3 additions and 15 deletions
|
@ -44,11 +44,11 @@
|
|||
{% if yadm.os == "Darwin" %}
|
||||
helper = osxkeychain
|
||||
{% endif %}
|
||||
{% if yadm.distro == "arch" %}
|
||||
{% if yadm.distro_family == "arch" %}
|
||||
helper = /usr/lib/git-core/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "EndeavourOS" %}
|
||||
helper = /usr/lib/git-core/git-credential-libsecret
|
||||
{% if yadm.distro_family == "Debian" %}
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "Fedora" %}
|
||||
helper = /usr/libexec/git-core/git-credential-libsecret
|
||||
|
@ -56,18 +56,6 @@
|
|||
{% if yadm.distro == "openSUSE" %}
|
||||
helper = /usr/libexec/git/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "Mint" %}
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "Debian" %}
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "Ubuntu" %}
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
{% endif %}
|
||||
{% if yadm.distro == "Pop" %}
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
{% endif %}
|
||||
[alias]
|
||||
up = !git pull --prune $@ && git submodule update --init --recursive
|
||||
a = add
|
||||
|
|
Loading…
Reference in a new issue