aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-25 15:43:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-25 15:43:46 -0200
commit53870dd9b1bb27491d2810c1b2e9ae52ae60b139 (patch)
tree520ad0fa03c5a25bc2e519f75be9d820b51f5ab9
parent41870a602651a3321f0d1cd5d7c1e911dd0bfaea (diff)
downloadprofile-53870dd9b1bb27491d2810c1b2e9ae52ae60b139.tar.gz
profile-53870dd9b1bb27491d2810c1b2e9ae52ae60b139.tar.bz2
Use ssh-agent-loadkeys
-rw-r--r--profile.dot.link28
1 files changed, 6 insertions, 22 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 511632b..fb1bbe8 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -162,33 +162,17 @@ mkdir -p $TMP
eval "`dircolors -b ~/.dircolorsrc`"
# SSH and GPG Agents
-if [ -x '/usr/bin/keychain' ]; then
- mkdir -p $HOME/.keychain
-
- if [ -e "$HOME/.ssh/id_rsa" ]; then
- /usr/bin/keychain -q $HOME/.ssh/id_rsa
- fi
-
- if [ -e "$HOME/.ssh/id_ed25519" ]; then
- /usr/bin/keychain -q $HOME/.ssh/id_ed25519
- fi
-
- if [ -e "$HOME/.keychain/$HOSTNAME-sh" ]; then
- . $HOME/.keychain/$HOSTNAME-sh
- fi
-
- if [ -e "$HOME/.keychain/$HOSTNAME-sh-gpg" ]; then
- . $HOME/.keychain/$HOSTNAME-sh-gpg
- fi
+if [ -x "$HOME/apps/utils-ssh/ssh-agent-loadkeys" ]; then
+ . $HOME/apps/utils-ssh/ssh-agent-loadkeys
fi
-#if [ -e "$HOME/apps/scripts/ssh-agent-eval" ]; then
-# $HOME/apps/scripts/ssh-agent-eval
+#if [ -e "$HOME/apps/utils-ssh/ssh-agent-eval" ]; then
+# $HOME/apps/utils-ssh/ssh-agent-eval
#fi
# GPG Agent
-#if [ -e "$HOME/apps/scripts/gpg-agent-eval" ]; then
-# $HOME/apps/scripts/gpg-agent-eval
+#if [ -e "$HOME/apps/utils-gpg/gpg-agent-eval" ]; then
+# $HOME/apps/utils-gpg/gpg-agent-eval
#fi
# Remove lost found folder if empty