Skip to content

Commit

Permalink
ssh.nu: close #218
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Penton <jon@spotsource.com>
  • Loading branch information
balupton and jon-spotsource committed Mar 28, 2024
1 parent 89c6a52 commit a8fe860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/ssh.nu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ssh-agent handling
command-exists 'ssh-agent' | complete; if $env.LAST_EXIT_CODE == 0 {
# start ssh-agent and export SSH_AUTH_SOCK and SSH_AGENT_PID
if not 'SSH_AUTH_SOCK' in $env {
if 'SSH_AUTH_SOCK' not-in $env {
ssh-agent -c
| lines
| first 2
Expand Down

0 comments on commit a8fe860

Please sign in to comment.