From fff859fcbb1eabf7f9e742943e2f837a3cb56fb5 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sat, 27 Aug 2022 14:39:11 -0400 Subject: [PATCH] Moved rust cargo env loader and added conditions and added gitconfig for arch --- .gitconfig##d.arch | 30 ++++++++++++++++++++++++++++++ .profile | 2 +- .zshenv | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .gitconfig##d.arch diff --git a/.gitconfig##d.arch b/.gitconfig##d.arch new file mode 100644 index 0000000..848653e --- /dev/null +++ b/.gitconfig##d.arch @@ -0,0 +1,30 @@ +[user] + name = Eric Renfro + email = psi-jack@linux-help.org + signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4 +[sendemail] + smtpencryption = tls + smtpserver = mx.linux-help.org + smtpuser = eric.renfro@linux-help.org + smtpserverport = 587 +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[commit] + gpgsign = true +[alias] + up = !git pull --prune $@ && git submodule update --init --recursive +[credential] + #helper = /usr/lib/git/git-core/git-credential-store + #helper = /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring + #helper = /usr/libexec/git-core/git-credential-libsecret + helper = /usr/lib/git-core/git-credential-libsecret + #helper = libsecret +[gpg] + program = gpg2 +[init] + defaultBranch = master +[pull] + rebase = false diff --git a/.profile b/.profile index 6fa0100..72c35c3 100644 --- a/.profile +++ b/.profile @@ -6,4 +6,4 @@ export EDITOR=vim export PATH=$PATH:$HOME/bin:$HOME/go/bin #export QT_QPA_PLATFORMTHEME=qgnomeplatform -. "$HOME/.cargo/env" +#. "$HOME/.cargo/env" diff --git a/.zshenv b/.zshenv index c72e285..6482b8f 100644 --- a/.zshenv +++ b/.zshenv @@ -7,7 +7,7 @@ : ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim} # }}} End configuration added by Zim install -if [[ -d "$HOME/.cargo" ]]; then +if [[ -r "$HOME/.cargo/env" ]]; then . "$HOME/.cargo/env" fi