diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 00:33:51 +0100 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 14:03:00 +0100 |
| commit | 6777625ee34666986e2f38f5cf8198fdb360ea55 (patch) | |
| tree | a7548f7c73fabf1400fe2aa73361fe351536bdde | |
| parent | 99c93b21fbd966726a4f7d6369c9640665dd20bb (diff) | |
ssh-agent
| -rw-r--r-- | mut/nushell/env.nu | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
