Add keychain to bashrc
This commit is contained in:
parent
d2cc3d9db9
commit
3dee74df69
1 changed files with 6 additions and 0 deletions
6
bashrc.d/0_keychain
Normal file
6
bashrc.d/0_keychain
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
if [ "$(which keychain)" == "" ]; then
|
||||
echo "Install keychain package to get better key management"
|
||||
else
|
||||
eval $(keychain --eval --agents ssh,gpg id_rsa)
|
||||
fi
|
Loading…
Reference in a new issue