summaryrefslogtreecommitdiff
path: root/mut/nushell/env.nu
diff options
context:
space:
mode:
Diffstat (limited to 'mut/nushell/env.nu')
-rw-r--r--mut/nushell/env.nu2
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 {