diff options
Diffstat (limited to 'zprofile')
-rw-r--r-- | zprofile | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/zprofile b/zprofile deleted file mode 100644 index 4094814..0000000 --- a/zprofile +++ /dev/null @@ -1,15 +0,0 @@ -# YubiKey - SSH -export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock -ss -a | grep -q $SSH_AUTH_SOCK -if [ $? -ne 0 ]; then - rm -f $SSH_AUTH_SOCK - (setsid nohup socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:$HOME/.ssh/wsl2-ssh-pageant.exe >/dev/null 2>&1 &) -fi - -# YubiKey - GPG -export GPG_AGENT_SOCK=$HOME/.gnupg/S.gpg-agent -ss -a | grep -q $GPG_AGENT_SOCK -if [ $? -ne 0 ]; then - rm -rf $GPG_AGENT_SOCK - (setsid nohup socat UNIX-LISTEN:$GPG_AGENT_SOCK,fork EXEC:"$HOME/.ssh/wsl2-ssh-pageant.exe --gpg S.gpg-agent" >/dev/null 2>&1 &) -fi |