diff options
author | Case Duckworth | 2022-06-15 15:28:48 -0500 |
---|---|---|
committer | Case Duckworth | 2022-06-15 15:28:48 -0500 |
commit | c96735659d532b7abdeb23e7feb5ee79e9f5498c (patch) | |
tree | 01ee1c6a4117d95a6f4f6fb6920113674eb268b3 /profile | |
parent | Luarocks (diff) | |
download | etc-c96735659d532b7abdeb23e7feb5ee79e9f5498c.tar.gz etc-c96735659d532b7abdeb23e7feb5ee79e9f5498c.zip |
Keychain
Diffstat (limited to 'profile')
-rw-r--r-- | profile/ssh-agent.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile/ssh-agent.sh b/profile/ssh-agent.sh index acd65a4..7afb7c6 100644 --- a/profile/ssh-agent.sh +++ b/profile/ssh-agent.sh | |||
@@ -3,7 +3,7 @@ | |||
3 | # use keychain(1), if available | 3 | # use keychain(1), if available |
4 | if type keychain > /dev/null 2>&1; then | 4 | if type keychain > /dev/null 2>&1; then |
5 | # Save directory name in a variable (for ease of maintenance) | 5 | # Save directory name in a variable (for ease of maintenance) |
6 | export KEYCHAIN_HOME="$HOME/.keychain" | 6 | export KEYCHAIN_HOME="$XDG_RUNTIME_DIR/keychain" |
7 | eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh 2>/dev/null) | 7 | eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh 2>/dev/null) |
8 | else | 8 | else |
9 | eval $(ssh-agent -s) | 9 | eval $(ssh-agent -s) |