We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb54103 commit bc07accCopy full SHA for bc07acc
1 file changed
.additional_bashrc.sh
@@ -27,5 +27,10 @@ alias xdebug-toggle='test $(php -m | grep xdebug) && xdebug-disable && echo "xde
27
# Run SSH Agent and add key 7d
28
if [ -z "$SSH_AUTH_SOCK" ] ; then
29
eval `ssh-agent -s`
30
- ssh-add -t 604800 ~/.ssh/id_rsa
+ if [ -f ~/.ssh/id_rsa ]; then
31
+ ssh-add -t 604800 ~/.ssh/id_rsa
32
+ fi
33
+ if [ -f ~/.ssh/id_ed25519 ]; then
34
+ ssh-add -t 604800 ~/.ssh/id_ed25519
35
36
fi
0 commit comments