We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9addc commit 699640dCopy full SHA for 699640d
cookbook/ssh_agent.md
@@ -40,7 +40,7 @@ You can work around this behavior by checking if a ssh-agent is already running
40
```nu
41
do --env {
42
let ssh_agent_file = (
43
- $nu.temp-path | path join $"ssh-agent-($env.USER? | default $env.USERNAME).nuon"
+ $nu.temp-path | path join $"ssh-agent-(whoami).nuon"
44
)
45
46
if ($ssh_agent_file | path exists) {
0 commit comments