diff --git a/.gitconfig##template b/.gitconfig##template index b4e75dc..1d1c8b8 100644 --- a/.gitconfig##template +++ b/.gitconfig##template @@ -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