Add existence checks; export gpg vars
This commit is contained in:
parent
e5b4614f37
commit
effe01a7cc
13
bash/.bashrc
13
bash/.bashrc
@ -8,4 +8,15 @@
|
|||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
PS1='[\u@\h \W]\$ '
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user