silence ssh-agent attempts
This commit is contained in:
parent
4efb0fe8b0
commit
48f9732054
2
zsh/ssh
2
zsh/ssh
@ -17,7 +17,7 @@ WRYN_SSH_ADD_CREDENTIALS() {
|
|||||||
[ -f "$key.pub" ] \
|
[ -f "$key.pub" ] \
|
||||||
&& echo $KEY_LIST | grep -q $(awk '{print $NF;}' $key.pub) \
|
&& echo $KEY_LIST | grep -q $(awk '{print $NF;}' $key.pub) \
|
||||||
|| echo $KEY_LIST | grep -q $key \
|
|| echo $KEY_LIST | grep -q $key \
|
||||||
|| ssh-add "$key";
|
|| ssh-add "$key" >/dev/null 2>&1;
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user