From c96735659d532b7abdeb23e7feb5ee79e9f5498c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 15 Jun 2022 15:28:48 -0500 Subject: Keychain --- profile/ssh-agent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile') 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 @@ # use keychain(1), if available if type keychain > /dev/null 2>&1; then # Save directory name in a variable (for ease of maintenance) - export KEYCHAIN_HOME="$HOME/.keychain" + export KEYCHAIN_HOME="$XDG_RUNTIME_DIR/keychain" eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh 2>/dev/null) else eval $(ssh-agent -s) -- cgit 1.4.1-21-gabe81