From dd6311f2f166af386cfc5791e237b9d1716d311f Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 6 Sep 2022 20:10:49 +0300 Subject: [PATCH] Revert "Enable SSH agent forwarding for termux" This reverts commit 99e97617834798875546643d2671c1d9c9b423e2. --- home/.config/zsh/02-env.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/.config/zsh/02-env.zsh b/home/.config/zsh/02-env.zsh index bcfaf71..f60d3c3 100644 --- a/home/.config/zsh/02-env.zsh +++ b/home/.config/zsh/02-env.zsh @@ -61,11 +61,12 @@ 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 -{%@@ if os == "termux" @@%} - +gpgconf --launch gpg-agent +{%@@ elif os == "termux" @@%} eval $(okc-ssh-agent) {%@@ endif @@%}