diff --git a/home/.config/zsh/02-env.zsh b/home/.config/zsh/02-env.zsh index f60d3c3..bcfaf71 100644 --- a/home/.config/zsh/02-env.zsh +++ b/home/.config/zsh/02-env.zsh @@ -61,12 +61,11 @@ export MANPAGER="$EDITOR +\"lua require 'pager'\" +Man!" export SYSTEMD_EDITOR=$EDITOR export SYSTEMD_PAGER=less -{%@@ if os == "arch" or os == "ubuntu" @@%} if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" fi -gpgconf --launch gpg-agent -{%@@ elif os == "termux" @@%} +{%@@ if os == "termux" @@%} + eval $(okc-ssh-agent) {%@@ endif @@%}