summaryrefslogtreecommitdiffstats
path: root/.bashrc.d/keychain
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc.d/keychain')
-rwxr-xr-x.bashrc.d/keychain5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc.d/keychain b/.bashrc.d/keychain
new file mode 100755
index 0000000..3aead85
--- /dev/null
+++ b/.bashrc.d/keychain
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -eu
+
+eval "$(keychain --agents ssh --eval --quiet id_rsa)"