Add existence checks; export gpg vars

This commit is contained in:
Jeremy Dormitzer 2019-02-05 06:12:12 -05:00
parent e5b4614f37
commit effe01a7cc

View File

@ -8,4 +8,15 @@
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
source /usr/share/nvm/init-nvm.sh
if [ -f /usr/share/nvm/init-nvm.sh ];
then
source /usr/share/nvm/init-nvm.sh
fi
GPG_TTY=$(tty)
export GPG_TTY
if [ -x "$(command -v direnv)" ];
then
eval "$(direnv hook bash)"
fi