1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-18 05:06:38 +02:00

[bash] rename bash/rc and bash/bash.d

This commit is contained in:
Eric-Teunis de Boone 2022-02-10 20:07:37 +01:00
parent f67517fdec
commit 6b0d6af2f8
10 changed files with 8 additions and 6 deletions

View file

@ -0,0 +1,15 @@
# .bash_files
# Setup gpg agent info
# if not running, set one up
GPG_AGENT_INFO="${HOME}/.gpg-agent-info"
if [ -f "${GPG_AGENT_INFO}" ]; then
source "${GPG_AGENT_INFO}"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
else
/usr/bin/gpg-agent --daemon --write-env-file "${GPG_AGENT_INFO}"
fi