[zshrc] Skip ssh-add when running in VS Code
This commit is contained in:
parent
05b66e5c47
commit
949d81563f
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
|
@ -32,7 +32,7 @@ fi
|
||||||
### SSH keys
|
### SSH keys
|
||||||
# ============
|
# ============
|
||||||
|
|
||||||
if mac; then
|
if mac && [[ "$TERM_PROGRAM" != "vscode" ]]; then
|
||||||
ssh-add --apple-load-keychain
|
ssh-add --apple-load-keychain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue