fixed ssh-agent on nushell.

This commit is contained in:
Gabe Venberg 2024-03-19 11:06:39 -05:00
parent ba9c1a5c09
commit 507d4a3d08

View file

@ -110,6 +110,7 @@ $env.PATH = ($env.PATH | uniq)
$env.EDITOR = nvim $env.EDITOR = nvim
$env.VISUAL = nvim $env.VISUAL = nvim
$env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent"
ls (($nu.default-config-dir | path join ('scripts/**/*.nu')) | into glob) | ls (($nu.default-config-dir | path join ('scripts/**/*.nu')) | into glob) |
each { |it| $"source ($it.name)\n" | save --append $conditional_config} | ignore each { |it| $"source ($it.name)\n" | save --append $conditional_config} | ignore