From f2c129eb2e11974283a620912dca06bb837a5473 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Fri, 31 Jan 2025 14:26:16 +0100 Subject: [PATCH] [zsh] Update WSL setup for Git/SSH --- zsh/.zshenv | 4 ++++ zsh/.zshrc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/zsh/.zshenv b/zsh/.zshenv index 67f293c..743fa1e 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -45,6 +45,10 @@ export PERL_LOCAL_LIB_ROOT="$HOME/.perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB export PERL_MB_OPT="--install_base \"$HOME/.perl5\"" export PERL_MM_OPT="INSTALL_BASE=$HOME/.perl5" +if [[ $IS_WSL == true ]]; then + export GIT_SSH="ssh.exe" +fi + export GITHUB_USER=Sharparam export MAKEFLAGS="-j$(nproc)" diff --git a/zsh/.zshrc b/zsh/.zshrc index 46df077..2ca660e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -294,9 +294,9 @@ if [[ $IS_WSL == true ]]; then if [[ -n "${XDG_SESSION_ID}" && "${TERM}" == "dumb" && "$(ps -p $PPID -o comm=)" == "login" ]]; then # Background login process, do nothing else - echo '[WSL] Configuring GPG and SSH' - wsl-gpg-proxy - wsl-ssh-proxy + # echo '[WSL] Configuring GPG and SSH' + # wsl-gpg-proxy + # wsl-ssh-proxy fi else #if [ "$HOST" = "melina" ]; then -- 2.54.0