Updated .gitconfig with distro_family for smaller list

This commit is contained in:
Eric Renfro 2024-03-13 15:51:03 -04:00
parent 79edad5267
commit c42215ae8b
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -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