bashrc: Updated the PATH, bruh

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-02-18 18:01:45 +08:00
parent 3e5b954850
commit 0a64135c8a
1 changed files with 16 additions and 2 deletions

18
.bashrc
View File

@ -1,5 +1,19 @@
# Start GPG and SSH agents
export GPG_TTY=$(tty)
gpg-agent --daemon --enable-ssh-support \
--write-env-file "${HOME}/.gpg-agent-info"
eval $(ssh-agent -s)
ssh-add $HOME/.ssh/github-personal
if [ -f "${HOME}/.gpg-agent-info" ]; then
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
else
eval $(ssh-agent -s)
fi
# Run this with add-ssh-keys instead
#ssh-add $HOME/.ssh/github-personal
# Then add my scripts
export DOTFILES_STUFF_BIN="$HOME/.dotfiles/bin"
export PATH=$PATH:$DOTFILES_STUFF_BIN