summaryrefslogtreecommitdiff
path: root/mut/nushell/env.nu
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-21 00:33:51 +0100
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-21 14:03:00 +0100
commit6777625ee34666986e2f38f5cf8198fdb360ea55 (patch)
treea7548f7c73fabf1400fe2aa73361fe351536bdde /mut/nushell/env.nu
parent99c93b21fbd966726a4f7d6369c9640665dd20bb (diff)
ssh-agent
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 {