automatically add ssh keys to the agent on login
This commit is contained in:
parent
61a9ba8f65
commit
0977eeb707
1 changed files with 3 additions and 0 deletions
3
zshrc
3
zshrc
|
|
@ -288,6 +288,9 @@ if is_interactive && command_exists keychain && [[ -d ~/.ssh ]]; then
|
|||
source $KEYCHAINFILE >/dev/null
|
||||
fi
|
||||
fi
|
||||
if is_interactive && command_exists ssh-add && [[ -d ~/.ssh ]]; then
|
||||
ssh-add -A
|
||||
fi
|
||||
|
||||
# 12. rbenv and pyenv
|
||||
# ===================
|
||||
|
|
|
|||
Loading…
Reference in a new issue