diff options
Diffstat (limited to 'config/essentials/zsh')
-rwxr-xr-x | config/essentials/zsh/.zprofile | 4 |
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 |