summaryrefslogtreecommitdiff
path: root/config/essentials/zsh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-03 13:56:25 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-03 13:56:25 +0100
commit7fb4028f4c1e6c9ffde29bbe34bb4ab2b3d1e49d (patch)
tree1c4f2fb0b5b04608b8dac0384b7bb29e4eb968d5 /config/essentials/zsh
parent72a02162233bca1df80f57e7157d6d5d83257a74 (diff)
checkpoint
Diffstat (limited to 'config/essentials/zsh')
-rwxr-xr-xconfig/essentials/zsh/.zprofile4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile
index 2e40c32..9072f28 100755
--- a/config/essentials/zsh/.zprofile
+++ b/config/essentials/zsh/.zprofile
@@ -1,7 +1,7 @@
#!/bin/sh
-if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } &&
- [ "$(id -u)" -ne 0 ]; then
+if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then
+ eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)"
exec startx > /dev/null 2>&1
exit
fi