diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-12-29 07:09:24 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-12-29 07:09:24 +0100 |
commit | d79faa9e1b36e99dcf8925fc3271f32950f00309 (patch) | |
tree | 959c4892bba99e23e6fa3893474201b9a2e6e768 /config/essentials/zsh/.zshrc | |
parent | 0b76d36b1b94d631616f165073b3284b277a74c6 (diff) |
checkpoint
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r-- | config/essentials/zsh/.zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 68aae3f..3a75873 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -1,5 +1,12 @@ #!/bin/zsh +if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then + eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents ssh,gpg)" + keychain --dir "$XDG_CONFIG_HOME/keychain" --quiet --agents gpg IDENTITY #FILTERED + exec startx > /dev/null 2>&1 + exit +fi + # zmodload zsh/zprof autoload -U select-word-style |