os/arch/.xprofile: start (ssh|gpg)-agent

This commit is contained in:
Henrik Lissner 2017-01-17 23:13:47 -05:00
parent cc42c44ba0
commit 4b52b54606
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -1 +1,2 @@
path=(~/.bin $path)
[[ -f ~/.ssh/agentenv ]] && source ~/.ssh/agentenv
[[ -f ~/.gnupg/agentenv ]] && source ~/.gnupg/agentenv