[UPDATE][SHELL] Do not unset SSH_ASKPASS

This allows `keychain` to start very early using a GUI, not making my
first terminal slow to open.
This commit is contained in:
Bruno BELANYI 2020-10-27 16:00:15 +01:00
parent 80af70763c
commit bb40d8fc77

View file

@ -56,9 +56,6 @@ elif { [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ] ; } &&
stty -ixon
fi
# I do not want popups when asking for my SSH key
unset SSH_ASKPASS
# Use keychain to handle ssh-agent, in interactive shell too
eval "$(keychain --dir ~/.cache/keychain --inherit any-once --eval id_rsa --eval shared_rsa --quiet)"