mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 09:47:21 +01:00
handle start of gpg-agent / add gcloud paths
This commit is contained in:
parent
bcee6212c3
commit
4a04eb3250
22
bash_profile
22
bash_profile
@ -66,3 +66,25 @@ export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
# Load RVM into a shell session *as a function*
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# gpg-agent
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
|
||||
source ~/.gnupg/.gpg-agent-info
|
||||
export GPG_AGENT_INFO
|
||||
else
|
||||
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
|
||||
fi
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Google Cloud SDK
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
if [ -s ~/Code/google-cloud-sdk/ ]; then
|
||||
source ~/Code/google-cloud-sdk/path.bash.inc
|
||||
source ~/Code/google-cloud-sdk/completion.bash.inc
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user