diff --git a/os/arch/.xprofile b/os/arch/.xprofile index c9e23b79..33853719 100644 --- a/os/arch/.xprofile +++ b/os/arch/.xprofile @@ -35,3 +35,6 @@ run mpd & # music server run redshift & # screen temperature based on time-of-day $HOME/.bin/rsl.sh # resilio sync +# +ssh-agent -s | sed 's/^echo/#echo/' > ~/.ssh/agentenv +gpg-agent --daemon | sed 's/^echo/#echo/' > ~/.gnupg/agentenv diff --git a/os/arch/env.zsh b/os/arch/env.zsh index 0db52330..51e6c475 100644 --- a/os/arch/env.zsh +++ b/os/arch/env.zsh @@ -1 +1,2 @@ -path=(~/.bin $path) +[[ -f ~/.ssh/agentenv ]] && source ~/.ssh/agentenv +[[ -f ~/.gnupg/agentenv ]] && source ~/.gnupg/agentenv