From 6777625ee34666986e2f38f5cf8198fdb360ea55 Mon Sep 17 00:00:00 2001 From: Mike Vink <59492084+ivi-vink@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:33:51 +0100 Subject: ssh-agent --- mut/nushell/env.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mut/nushell/env.nu b/mut/nushell/env.nu index 977d407..dbb578d 100644 --- a/mut/nushell/env.nu +++ b/mut/nushell/env.nu @@ -128,7 +128,7 @@ do --env { if ($ssh_agent_file | path exists) { let ssh_agent_env = open ($ssh_agent_file) - if (ps | where pid == ($ssh_agent_env.SSH_AGENT_PID) | is-not-empty) { + if (ps | where pid == ($ssh_agent_env.SSH_AGENT_PID | into int) | is-not-empty) { load-env $ssh_agent_env return } else { -- cgit v1.2.3