home: Only set SSH_AUTH_SOCK if unset
This commit is contained in:
parent
4303771857
commit
581dbd7739
1 changed files with 4 additions and 1 deletions
|
@ -249,9 +249,12 @@ in {
|
|||
|
||||
PROMPT_INDICATOR: { "› " }
|
||||
|
||||
SSH_AUTH_SOCK: $"($env.XDG_RUNTIME_DIR)/ssh-agent"
|
||||
TMPDIR: $"($env.XDG_RUNTIME_DIR)/tmp"
|
||||
}
|
||||
|
||||
if SSH_AUTH_SOCK not-in $env {
|
||||
$env.SSH_AUTH_SOCK = $"(env.XDG_RUNTIME_DIR)/ssh-agent"
|
||||
}
|
||||
'';
|
||||
|
||||
configFile.text = ''
|
||||
|
|
Loading…
Reference in a new issue