bashrc: Updated the PATH, bruh
Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
parent
3e5b954850
commit
0a64135c8a
18
.bashrc
18
.bashrc
|
@ -1,5 +1,19 @@
|
||||||
|
# Start GPG and SSH agents
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
gpg-agent --daemon --enable-ssh-support \
|
gpg-agent --daemon --enable-ssh-support \
|
||||||
--write-env-file "${HOME}/.gpg-agent-info"
|
--write-env-file "${HOME}/.gpg-agent-info"
|
||||||
eval $(ssh-agent -s)
|
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||||
ssh-add $HOME/.ssh/github-personal
|
. "${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
|
||||||
|
|
Loading…
Reference in New Issue