diff --git a/zsh/.zshrc.d/prompt b/zsh/.zshrc.d/prompt index 39b465b..89df48e 100644 --- a/zsh/.zshrc.d/prompt +++ b/zsh/.zshrc.d/prompt @@ -15,3 +15,7 @@ else eval `dircolors ~/.dircolors/dircolors.ansi-dark` fi zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} +if [ -z "$SSH_AUTH_SOCK" ] ; then + eval `ssh-agent -s` + ssh-add +fi