diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-06-05 15:45:39 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-06-05 15:45:39 (EDT) |
commit | efdbaa80eac70551cfc932ce6a3f1cf933530528 (patch) | |
tree | 2645f434a7bc321550fc364ec50be8fc191293ca | |
parent | 8fbc49f672c4d5f40af977c6ea3e1ea7c293d3a5 (diff) | |
download | keychain-efdbaa80eac70551cfc932ce6a3f1cf933530528.zip keychain-efdbaa80eac70551cfc932ce6a3f1cf933530528.tar.gz keychain-efdbaa80eac70551cfc932ce6a3f1cf933530528.tar.bz2 |
.bashrc.d/keychain: New script
-rwxr-xr-x | .bashrc.d/keychain | 5 | ||||
-rw-r--r-- | .gitignore.d/keychain | 2 |
2 files changed, 7 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)" diff --git a/.gitignore.d/keychain b/.gitignore.d/keychain index 29a1fb3..83d2cc6 100644 --- a/.gitignore.d/keychain +++ b/.gitignore.d/keychain @@ -2,6 +2,8 @@ * # Include relevant files +!/.bashrc.d/ +!/.bashrc.d/keychain !/.gitignore.d/ !/.gitignore.d/keychain |