Moved rust cargo env loader and added conditions and added gitconfig for arch

This commit is contained in:
Eric Renfro 2022-08-27 14:39:11 -04:00
parent d8baa26c9c
commit dbdad6f42e
3 changed files with 32 additions and 2 deletions

30
.gitconfig##d.arch Normal file
View file

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

View file

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

View file

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