Add keychain setup to fish

This commit is contained in:
Evie Litherland-Smith 2023-02-25 09:12:07 +00:00
parent 717acf5ddc
commit 02428e2d63

View file

@ -0,0 +1,7 @@
if status is-login
and status is-interactive
# To add a key, set -Ua SSH_KEYS_TO_AUTOLOAD keypath
# To remove a key, set -U --erase SSH_KEYS_TO_AUTOLOAD[index_of_key]
keychain --eval --quiet --noask "$HOME/.ssh/id_ed25519" | source
keychain --eval --quiet --noask "$HOME/.ssh/id_rsa" | source
end