[zshrc] Skip ssh-add when running in VS Code

This commit is contained in:
Sami Samhuri 2022-02-08 09:51:12 -08:00
parent 05b66e5c47
commit 949d81563f
No known key found for this signature in database
GPG key ID: 4B4195422742FC16

2
zshrc
View file

@ -32,7 +32,7 @@ fi
### SSH keys
# ============
if mac; then
if mac && [[ "$TERM_PROGRAM" != "vscode" ]]; then
ssh-add --apple-load-keychain
fi