diff options
-rw-r--r-- | 12_Prompts.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 123211a..23d76b8 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -94,6 +94,13 @@ update_prompt() set_prompt_date # GPG/SSH agents + + KEYCHAIN=~/.keychain/$(hostname)-sh + for file in $(find $KEYCHAIN:h -name "$(hostname)-sh" -o -name "$(hostname)-sh-*") + do + source $file + done + AGENTS="" if [ "$SSH_AGENT_PID" -gt 0 -a -e /proc/$SSH_AGENT_PID/cmdline ] then |