diff options
Diffstat (limited to 'mut/nushell/env.nu')
| -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 c077610..977d407 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 ($"/proc/($ssh_agent_env.SSH_AGENT_PID)" | path exists) { + if (ps | where pid == ($ssh_agent_env.SSH_AGENT_PID) | is-not-empty) { load-env $ssh_agent_env return } else { |
