Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbook/ssh_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can work around this behavior by checking if a ssh-agent is already running
```nu
do --env {
let ssh_agent_file = (
$nu.temp-path | path join $"ssh-agent-($env.USER? | default $env.USERNAME).nuon"
$nu.temp-path | path join $"ssh-agent-(whoami).nuon"
)

if ($ssh_agent_file | path exists) {
Expand Down
Loading