summaryrefslogtreecommitdiff
path: root/config/zshrc/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-04 22:09:06 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-04 22:09:06 +0100
commita1fbcf4ea0876c23b317781f657d9e65902367f9 (patch)
treec12c4106454f1f64b9e2f454789df9a07977f0fe /config/zshrc/.zshrc
parent61b4e9748d4ab2fb9e7145dc9f579ce6b661873a (diff)
set keychain directory in .config
Diffstat (limited to 'config/zshrc/.zshrc')
-rw-r--r--config/zshrc/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/zshrc/.zshrc b/config/zshrc/.zshrc
index 8b83663..0d54ed9 100644
--- a/config/zshrc/.zshrc
+++ b/config/zshrc/.zshrc
@@ -19,8 +19,8 @@ export PASSWORD_STORE_CLIP_TIME=5
if [ ! $(pgrep Xorg) ] && [ "tty1" = "$(basename $(tty))" ]
then
clear
- eval `keychain --eval --quiet --agents gpg 3A626DD20A32EB2E5DD9CE71CFD9ABC97158CD5D 2>/dev/null`
- eval `keychain --noask --eval --quiet --agents ssh 2>/dev/null`
+ eval "$(keychain --dir "$HOME/.config/keychain" --eval --quiet --agents gpg 3A626DD20A32EB2E5DD9CE71CFD9ABC97158CD5D 2> /dev/null)"
+ eval "$(keychain --dir "$HOME/.config/keychain" --noask --eval --quiet --agents ssh 2> /dev/null)"
clear
startx 2&> /dev/null
exit