Add ssh-agent

master
Quentin Duchemin 2019-01-10 11:07:32 +01:00
parent 697e6e0c6f
commit ca519397e5
2 changed files with 7 additions and 1 deletions

View File

@ -210,4 +210,5 @@ exec --no-startup-id jack-matchmaker -p ~/.config/jack-matchmaker/patterns
# Set DPI along with .Xresources # Set DPI along with .Xresources
exec xrandr --dpi 160 exec xrandr --dpi 160
exec thunderbird # Mail client
exec thunderbird

5
.zshrc
View File

@ -105,3 +105,8 @@ alias cp="cpv"
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
eval "$(fasd --init auto)" eval "$(fasd --init auto)"
# Start ssh-agent and retain passphrase for 1 hour
# ssh-add is not used for convenience
# Instead "AddKeysToAgent yes" option in ~/.ssh/config for "Host *"
eval "$(ssh-agent -s -t 3600)"